/* ========================================
   MOBILE HEADER COMPONENT - GLOBAL STYLES
   Used by all mobile pages
   ======================================== */

@media (max-width: 768px) {
    /* ========== HEADER MOBILE FIXED (Appkit Style) ========== */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .mobile-header.scrolled {
        height: 55px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .mobile-header-title {
        font-size: 24px;
        font-weight: 700;
        color: #1F1F1F;
        margin: 0;
        font-family: "Inter", sans-serif;
        letter-spacing: -0.8px;
        transition: all 0.3s ease;
        flex: 1;
        margin-left: 12px;
    }

    .mobile-header.scrolled .mobile-header-title {
        font-size: 18px;
        text-align: center;
        margin-left: 0;
    }

    .mobile-header-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #FFFFFF;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 18px;
        color: #1F1F1F;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .mobile-header-btn:active {
        transform: scale(0.95);
        background: #F3F4F6;
    }

    .mobile-menu-btn {
        position: relative;
        z-index: 10;
    }

    .mobile-header-actions {
        display: flex;
        gap: 10px;
        margin-left: auto;
    }

    .mobile-header-spacer {
        height: 30px;
        margin-bottom: 0;
    }

    /* ========== ACCOUNT DROPDOWN MENU ========== */
    .mobile-account-dropdown {
        position: relative;
    }

    .mobile-account-menu {
        position: absolute;
        top: 54px;
        right: 0;
        background: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
        min-width: 200px;
        padding: 8px 0;
        z-index: 1001;
        animation: slideDown 0.2s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-account-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: #1F1F1F;
        font-size: 14px;
        text-decoration: none;
        transition: background 0.2s;
    }

    .mobile-account-menu-item:hover {
        background: #F9FAFB;
    }

    .mobile-account-menu-item i {
        width: 20px;
        font-size: 16px;
        color: #6B7280;
    }

    .mobile-account-menu-logout {
        color: #DC2626;
    }

    .mobile-account-menu-logout i {
        color: #DC2626;
    }

    .mobile-account-menu-divider {
        height: 1px;
        background: #E5E7EB;
        margin: 8px 0;
    }
}
