/* HEADER COMPONENT STYLES */
/* Base layer (reset.css) now handles global resets */

/* Header container styling */
[data-mantine-component="AppShellHeader"] {
    padding: var(--space-2) var(--space-4);
    margin: 0;
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 1001; /* Higher than sidebar to ensure proper layering */
    position: relative;
}

/* Clean container structure */
[data-mantine-component="AppShell"] {
    margin: 0 !important;
    padding: 0 !important;
}

[data-mantine-component="AppShellMain"] {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    /* Let desktop.css handle margin-left for sidebar offset */
}


/* Logo styling with responsive sizing */
.header-logo {
    height: 12px !important; /* Very small screens */
    width: auto !important;
    margin-left: var(--space-4);
    transition: height var(--transition-fast);
}

/* Responsive logo sizes */
@media screen and (min-width: 360px) {
    .header-logo { height: 14px !important; }
}

@media screen and (min-width: 480px) {
    .header-logo { height: 18px !important; }
}

@media screen and (min-width: 768px) {
    .header-logo { height: 22px !important; }
}

@media screen and (min-width: 1024px) {
    .header-logo { height: 26px !important; }
}

@media screen and (min-width: 1200px) {
    .header-logo { height: 28px !important; }
}

/* Language selector and user menu styling */
.desktop-only-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.desktop-only-section .mantine-Select-input {
    font-size: var(--text-base);
    min-width: 80px;
}

.desktop-only-section .mantine-Menu-target {
    font-size: var(--text-base);
}
