/* ========================================================
Designer Header Styles
======================================================== */
:root {
    --mg-header-bg: #0F1320;
    --mg-text-primary: #FFFFFF;
    --mg-text-tertiary: rgba(255, 255, 255, 0.7);
    --mg-brand-primary: #D946A8;
    --mg-ui-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
}

/* STREAMING_CHUNK: Layout und Positionierung des Headers... */
.app-header {
    padding: 16px 18px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--mg-header-bg);
    position: relative;
    z-index: 1030;
    width: 100%;
}

/* STREAMING_CHUNK: Styling der Typografie und des Logos... */
.header-greeting {
    font-size: 12px;
    color: var(--mg-text-tertiary);
    margin-bottom: 4px;
    font-family: var(--mg-ui-font);
    line-height: 1;
}


.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--mg-text-primary);
    text-transform: uppercase;
    text-decoration: none;
}

.header-logo:hover {
    color: var(--mg-text-primary);
    text-decoration: none;
}

.header-logo .brand-icon {
    height: 22px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.header-logo .brand-text {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.header-logo .thin { font-weight: 300; }
.header-logo .bold { font-weight: 700; }

/* STREAMING_CHUNK: Styling der Buttons und des Avatars... */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}


.header-logo .brand-text {
    display: flex;
    align-items: flex-start; /* Ändern von baseline auf flex-start */
    gap: 2px; /* Etwas enger für das Symbol */
}

.marke-symbol {
    font-size: 0.5em;       /* Etwas kleiner wirkt oft edler */
    font-weight: normal;   /* Falls das Logo fett ist, sollte das ® dünn bleiben */
    margin-top: 0px;       /* Manuelle Justierung nach oben */
    line-height: 1;        /* Wichtig im Flex-Kontext */
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    color: var(--mg-text-primary);
    text-decoration: none;
    transition: background 0.18s ease, transform 0.12s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--mg-text-primary);
}

.icon-btn:active {
    transform: scale(0.96);
}

.avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D946A8, #993556);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--mg-ui-font);
    transition: transform 0.12s ease;
}

.avatar-btn:hover {
    color: #FFFFFF;
}

.avatar-btn:active {
    transform: scale(0.96);
}

/* STREAMING_CHUNK: Notification Dot Animation... */
.notif-dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 9px;
    height: 9px;
    background: var(--mg-brand-primary);
    border-radius: 50%;
    border: 2px solid var(--mg-header-bg);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(217, 70, 168, 0.5); }
    50% { opacity: 1; box-shadow: 0 0 0 6px rgba(217, 70, 168, 0); }
}