/* HEADER COMPONENT STYLES */

/* Global resets */
* {
    box-s/* Header container styling */
[data-mantine-component="AppShellHeader"] {
    padding: 8px 16px;
    margin: 0;
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef; /* Light bottom border */
    z-index: 1001; /* Higher than sidebar to ensure proper layering */
    position: relative;
}

/* Global resets */
* {
    box-sizing: border-box;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* 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 proper sizing */
.header-logo {
    height: 16px !important; /* Even smaller for very small screens */
    width: auto !important;
    margin-left: 16px; /* Add left margin as requested */
    transition: height 0.2s ease;
}

/* Very small screens */
@media screen and (min-width: 360px) {
    .header-logo {
        height: 18px !important;
    }
}

/* Small mobile screens */
@media screen and (min-width: 480px) {
    .header-logo {
        height: 24px !important;
    }
}

/* Large mobile/small tablet */
@media screen and (min-width: 768px) {
    .header-logo {
        height: 28px !important;
    }
}

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

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

/* Header container */
[data-mantine-component="AppShellHeader"] {
    padding: 0 16px;
    margin: 0;
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

/* Language selector and user menu styling */
.desktop-only-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-only-section .mantine-Select-input {
    font-size: 16px;
    min-width: 80px;
}

.desktop-only-section .mantine-Menu-target {
    font-size: 16px;
}
