/* ========== HEADER ULTRA SIMPLES ========== */
.dashboard-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

[data-theme="light"] .header-logo {
    filter: invert(1) brightness(0.8);
}

.header-update {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    padding: 0.5rem 0;
}

/* Default Utility Classes */
.hide-desktop {
    display: none !important;
}

/* Desktop Elements */
.header-filters,
.header-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-btn,
.tab-btn,
.settings-btn,
.menu-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.filter-btn.active,
.tab-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.filter-btn:hover,
.tab-btn:hover,
.settings-btn:hover {
    background: var(--bg-tertiary);
}

/* Sale Button Style */
.sale-btn {
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    font-size: 1.1rem;
    padding: 0.2rem 0.6rem;
}

.sale-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: scale(1.05);
}

.settings-btn {
    margin-left: auto;
    font-size: 1.2rem;
}

.menu-btn {
    margin-left: auto;
    width: 40px;
    height: 40px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Dropdowns */
.date-dropdown,
.settings-dropdown {
    position: fixed;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.date-dropdown {
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.settings-dropdown {
    top: 60px;
    right: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
}

.settings-dropdown div {
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.settings-dropdown div:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .hide-desktop {
        display: flex !important;
    }
    
    .dashboard-header {
        padding: 0.5rem 1rem;
    }
}

/* Mobile Menu Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-primary);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 1rem;
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(2px);
}

.mobile-overlay.open {
    display: block;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.mobile-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.mobile-section {
    margin-bottom: 2rem;
}

.mobile-tab {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.mobile-tab.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}
