/* public/components/app-header/app-header.css */

.app-header {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.app-title {
    display: flex;
    align-items: center;
}
.app-title h1 {
    margin: 0;
    font-size: 1.4em;
    line-height: 1.2;
}
.app-emoji {
    font-size: 1.2em;
    margin-right: 8px;
}
.subtitle {
    font-size: 0.7em;
    opacity: 0.9;
    margin-top: 2px;
}
.patient-info-header {
    text-align: right;
    max-width: 50%;
}
.patient-name-header {
    font-weight: bold;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.patient-actions-header {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}
.header-action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.header-action-btn:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .app-header {
        padding: 8px 15px;
    }
}

/* NEW STYLES for Patient Selector Modal */
.patient-select-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e7ff;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.patient-select-item:last-child {
    border-bottom: none;
}

.patient-select-item:hover {
    background-color: #f4f5fa;
}

.profile-item-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    opacity: 0.7;
}

.profile-item-name {
    font-size: 1.1em;
    font-weight: 500;
    color: #434190;
}