    :root {
        --gold: #d4af37;
        --gold-dark: #b8960c;
        --gold-light: #f4e4bc;
        --bg: #fafafa;
        --bg-primary: #fafafa;
        --bg-secondary: #ffffff;
        --card: #ffffff;
        --text: #1a1a1a;
        --text-primary: #1a1a1a;
        --text-secondary: #666666;
        --text-muted: #888;
        --border: #e5e5e5;
    }
    
    /* Toast Notification Styles */
    .toast-container {
        position: fixed;
        top: 100px;
        right: 20px;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 400px;
    }
    
    .toast {
        background: #ffffff;
        border-radius: 12px;
        padding: 16px 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        gap: 12px;
        animation: slideInRight 0.3s ease-out;
        border-right: 4px solid var(--gold);
        min-width: 300px;
    }
    
    .toast.success {
        border-right-color: #10b981;
    }
    
    .toast.error {
        border-right-color: #ef4444;
    }
    
    .toast.warning {
        border-right-color: #f59e0b;
    }
    
    .toast-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .toast.success .toast-icon {
        background: #d1fae5;
        color: #10b981;
    }
    
    .toast.error .toast-icon {
        background: #fee2e2;
        color: #ef4444;
    }
    
    .toast.warning .toast-icon {
        background: #fef3c7;
        color: #f59e0b;
    }
    
    .toast-content {
        flex: 1;
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
    }
    
    .toast-close {
        background: transparent;
        border: none;
        color: var(--text-muted);
        cursor: pointer;
        font-size: 18px;
        padding: 0;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
    }
    
    .toast-close:hover {
        color: var(--text);
    }
    
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOutRight {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }
    
    .toast.hiding {
        animation: slideOutRight 0.3s ease-out forwards;
    }
    
    @media (max-width: 768px) {
        .toast-container {
            right: 10px;
            left: 10px;
            max-width: none;
        }
        
        .toast {
            min-width: auto;
        }
    }
    
    /* Header Modal Styles - for login/register modals */
    .header-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        font-family: 'Cairo', 'Tajawal', sans-serif;
    }
    
    .header-modal-overlay[style*="display: flex"] {
        visibility: visible;
        opacity: 1;
    }
    
    .header-modal {
        background: var(--card);
        border-radius: 16px;
        padding: 32px;
        max-width: 450px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .header-modal-close {
        position: absolute;
        top: 16px;
        left: 16px;
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--text-muted);
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s;
    }
    
    .header-modal-close:hover {
        background: var(--bg-secondary);
        color: var(--text);
    }
    
    .header-modal-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 24px 0;
        text-align: center;
    }
    
    .header-modal-input {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid var(--border);
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 16px;
        font-family: 'Cairo', sans-serif;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }
    
    .header-modal-input:focus {
        outline: none;
        border-color: var(--gold);
    }
    
    .header-modal-btn {
        width: 100%;
        padding: 14px;
        background: var(--gold);
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        font-family: 'Cairo', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .header-modal-btn:hover {
        background: var(--gold-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }
    
    .header-google-btn {
        width: 100%;
        padding: 14px;
        margin-bottom: 16px;
        background: #fff;
        border: 2px solid #ddd;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s;
        font-family: 'Cairo', sans-serif;
    }
    
    .header-google-btn:hover {
        background: #f5f5f5;
        border-color: #ccc;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    @media (max-width: 768px) {
        .header-modal {
            padding: 24px;
            width: 95%;
            max-height: 95vh;
        }
        
        .header-modal-title {
            font-size: 20px;
        }
    }
    /* Header */
    .header {
        background: var(--card);
        border-bottom: 1px solid var(--border);
        padding: 16px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .header-inner {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
        background: transparent;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .logo-icon img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        display: block;
    }
    
    .logo-text {
        font-size: 22px;
        font-weight: 800;
        color: var(--text-primary);
    }
    
    .nav {
        display: flex;
        gap: 20px;
        flex-wrap: nowrap;
    }
    
    .nav a {
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .nav a i {
        font-size: 13px;
        width: 15px;
        text-align: center;
        transition: all 0.2s;
        flex-shrink: 0;
        color: var(--gold);
        opacity: 0.85;
    }
    
    .nav a:hover {
        color: var(--gold);
    }
    
    .nav a:hover i {
        transform: scale(1.15);
        opacity: 1;
        color: var(--gold-dark);
    }
    
    .nav a span {
        display: inline-block;
    }
    
    /* Hide icons on smaller desktop screens to reduce crowding */
    @media (max-width: 1400px) {
        .nav a i {
            display: none;
        }
        .nav a {
            gap: 0;
        }
    }
    
    /* Hide main navigation on mobile - items are in mobile bottom nav */
    @media (max-width: 1024px) {
        .nav#main-nav {
            display: none !important;
        }
    }
    
    .header-btns {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* User menu wrapper styles */
    .user-menu-wrapper {
        position: relative;
    }
    
    /* ✅ FIX: Default state - show guest menu by default, hide user menu */
    #guest-user-menu-wrapper {
        display: flex;
        position: relative;
    }
    
    #user-menu-wrapper {
        display: none;
    }
    
    /* ✅ Performance: CSS classes for visibility (no inline styles) */
    .visible {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    body.logged-in .user-menu-wrapper,
    body.logged-in #user-menu-wrapper {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body.logged-in #guest-user-menu-wrapper,
    body.logged-in .guest-user-menu-wrapper {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    body.logged-out .user-menu-wrapper,
    body.logged-out #user-menu-wrapper {
        display: none !important;
    }
    
    body.logged-out #guest-user-menu-wrapper,
    body.logged-out .guest-user-menu-wrapper,
    body:not(.logged-in) #guest-user-menu-wrapper {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ✅ FIX: Hide notification button for non-logged-in users */
    body:not(.logged-in) #header-notifications-btn,
    body.logged-out #header-notifications-btn {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* ✅ FIX: Show notification button for logged-in users */
    body.logged-in #header-notifications-btn {
        display: flex !important;
        visibility: visible !important;
    }
    
    body.modal-open {
        overflow: hidden;
    }
    
    .header-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }
    
    .header-modal-overlay.show {
        display: flex;
    }
    
    /* Guest user menu - show in mobile when user is not logged in */
    @media (max-width: 1024px) {
        body:not(.logged-in) #guest-user-menu-wrapper {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
    }
    
    /* Mobile User Avatar Small */
    .mobile-user-avatar-small {
        display: none;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .mobile-user-avatar-small img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--border);
    }
    
    /* Mobile user avatar small is always hidden - user can access via mobile menu */
    .mobile-user-avatar-small {
        display: none !important;
    }
    
    /* ✅ Force hide mobile auth buttons when user is logged in */
    body.logged-in #mobile-auth-buttons,
    body.logged-in .mobile-auth-buttons-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* ✅ Force show mobile user menu when user is logged in */
    body.logged-in #mobile-user-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ✅ Force hide guest user menu when user is logged in */
    body.logged-in #guest-user-menu-wrapper {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* Language button removed */
    .lang-btn {
        display: none !important;
    }
    
    .cart-btn {
        position: relative;
        background: transparent;
        border: 1px solid var(--border);
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-family: inherit;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s;
    }
    
    .cart-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(212, 175, 55, 0.1);
    }
    
    .cart-btn .cart-icon {
        font-size: 18px;
    }
    
    .cart-btn .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: #ffffff;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        min-width: 22px;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .cart-btn .cart-count:not(:empty) {
        display: flex;
    }
    
    .notification-btn {
        position: relative;
        background: transparent;
        border: 1px solid var(--border);
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-family: inherit;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s;
    }
    
    .notification-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(212, 175, 55, 0.1);
    }
    
    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ef4444;
        color: white;
        border-radius: 50%;
        min-width: 18px;
        height: 18px;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        border: 2px solid white;
        padding: 0 4px;
    }
    
    .notification-badge:not(:empty) {
        display: flex;
    }
    
    .notifications-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 8px;
        background: var(--card);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        min-width: 350px;
        max-width: 400px;
        max-height: 500px;
        overflow-y: auto;
        z-index: 10002;
        display: none;
        direction: rtl;
        text-align: right;
    }
    
    .notifications-dropdown.show {
        display: block;
    }
    
    /* Mobile responsive for notifications dropdown */
    @media (max-width: 768px) {
        .notifications-dropdown {
            position: fixed;
            top: auto;
            right: 10px;
            left: 10px;
            bottom: 80px;
            min-width: auto;
            max-width: none;
            width: calc(100% - 20px);
            max-height: calc(100vh - 200px);
        }
    }
    
    @media (max-width: 480px) {
        .notifications-dropdown {
            right: 5px;
            left: 5px;
            width: calc(100% - 10px);
            bottom: 70px;
        }
    }
    
    .notifications-header {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
        direction: rtl;
        gap: 12px;
        background: var(--card, #ffffff);
    }
    
    .notifications-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        text-align: right;
        direction: rtl;
        color: var(--text, #333);
        flex: 1;
    }
    
    .notifications-header-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        direction: rtl;
    }
    
    .notifications-action-btn {
        background: none;
        border: 1px solid var(--border, #e0e0e0);
        border-radius: 6px;
        cursor: pointer;
        font-size: 12px;
        direction: rtl;
        text-align: center;
        padding: 6px 12px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: 'Cairo', sans-serif;
        white-space: nowrap;
    }
    
    .notifications-action-btn i {
        font-size: 11px;
    }
    
    .notifications-action-btn.mark-read-btn {
        color: var(--primary, #007bff);
        border-color: var(--primary, #007bff);
    }
    
    .notifications-action-btn.mark-read-btn:hover {
        background: rgba(0, 123, 255, 0.1);
        transform: translateY(-1px);
    }
    
    .notifications-action-btn.delete-all-btn {
        color: #ef4444;
        border-color: #ef4444;
    }
    
    .notifications-action-btn.delete-all-btn:hover {
        background: rgba(239, 68, 68, 0.1);
        transform: translateY(-1px);
    }
    
    .notifications-action-btn:active {
        transform: translateY(0);
        opacity: 0.8;
    }
    
    .notifications-action-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    /* Mobile responsive */
    @media (max-width: 768px) {
        .notifications-header {
            padding: 10px 12px;
            gap: 8px;
        }
        
        .notifications-header h3 {
            font-size: 16px;
        }
        
        .notifications-action-btn {
            padding: 5px 10px;
            font-size: 11px;
        }
        
        .notifications-action-btn span {
            display: none;
        }
        
        .notifications-action-btn i {
            font-size: 13px;
        }
    }
    
    .notifications-list {
        max-height: 400px;
        overflow-y: auto;
        direction: rtl;
    }
    
    .notification-item {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border);
        cursor: pointer;
        transition: background 0.2s;
        position: relative;
        direction: rtl;
        text-align: right;
    }
    
    @media (max-width: 768px) {
        .notification-item {
            padding: 12px 16px;
        }
    }
    
    .notification-item:hover {
        background: var(--bg);
    }
    
    .notification-item.unread {
        background: rgba(212, 175, 55, 0.05);
    }
    
    .notification-item.unread::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gold);
    }
    
    .notification-title {
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 5px;
        color: var(--text);
        text-align: right;
        direction: rtl;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    @media (max-width: 768px) {
        .notification-title {
            font-size: 13px;
        }
    }
    
    .notification-text {
        font-size: 13px;
        color: var(--text-light);
        margin-bottom: 5px;
        text-align: right;
        direction: rtl;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }
    
    @media (max-width: 768px) {
        .notification-text {
            font-size: 12px;
        }
    }
    
    .notification-time {
        font-size: 11px;
        color: var(--text-muted);
        text-align: right;
        direction: rtl;
    }
    
    @media (max-width: 768px) {
        .notification-time {
            font-size: 10px;
        }
    }
    
    .btn {
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        border: none;
        font-family: inherit;
        transition: all 0.2s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .btn-outline {
        background: transparent;
        border: 2px solid var(--border);
        color: var(--text-primary);
    }
    
    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
    }
    
    .btn-gold {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
    }
    
    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(212, 160, 23, 0.4);
    }
    
    /* Mobile menu button removed - not needed */
    
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        border-left: 1px solid var(--border);
        padding: 20px 0 20px;
        overflow-y: auto;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .mobile-menu.active {
        transform: translateX(0);
        display: block;
    }
    
    .mobile-menu a {
        display: block;
        padding: 14px 20px;
        color: var(--text);
        text-decoration: none;
        border-bottom: 1px solid var(--border);
        transition: all 0.2s;
    }
    
    .mobile-menu a:hover {
        background: var(--gold-light);
        color: var(--gold-dark);
        padding-right: 30px;
    }
    
    .desktop-only { display: inline-flex; }
    
    @media (max-width: 1024px) {
        /* Mobile menu button removed */
        .desktop-only { display: none !important; }
        /* ✅ Exception: Show user menu wrapper on mobile when logged in (even without desktop-only class) */
        body.logged-in #user-menu-wrapper {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        /* Hide user name on mobile to save space */
        body.logged-in #header-user-name.desktop-only {
            display: none !important;
        }
        .nav { display: none; }
        /* Always hide mobile avatar button - user can access profile via mobile menu */
        .mobile-user-avatar-btn { 
            display: none !important; 
        }
        #mobile-user-avatar-img {
            display: none !important;
        }
        /* Show guest user menu in mobile when user is not logged in */
        body:not(.logged-in) #guest-user-menu-wrapper {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        /* Hide user name in mobile (<768px) - show only icon + arrow */
        @media (max-width: 767px) {
            #header-user-name {
                display: none !important;
            }
            /* Make user menu button smaller in mobile - only icon + arrow */
            #header-user-menu-btn {
                padding: 6px 8px !important;
                min-width: auto !important;
                gap: 4px !important;
            }
            #header-user-menu-btn img {
                width: 24px !important;
                height: 24px !important;
            }
            /* Make guest menu button smaller in mobile */
            #header-guest-menu-btn {
                padding: 6px 8px !important;
                min-width: auto !important;
                gap: 4px !important;
            }
        }
    }
    
    @media (min-width: 1025px) {
        .mobile-user-avatar-btn { 
            display: none !important; 
        }
        #mobile-user-avatar-img {
            display: none !important;
        }
    }
	@media (min-width: 1025px) {
  div#mobile-full-menu,
  nav.mobile-bottom-nav {
    display: none !important;
  }
}

    /* ========== CHAT MESSAGES - Global Styles ========== */
    /* تطبق على جميع مربعات المحادثة في أي مكان */
    .chat-message {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .chat-message.sent {
        flex-direction: row;
    }
    
    .chat-message.received {
        flex-direction: row-reverse;
    }
/* Header Modal Styles - for login/register modals */
    .header-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        font-family: 'Cairo', 'Tajawal', sans-serif;
    }
    
    .header-modal-overlay[style*="display: flex"] {
        visibility: visible;
        opacity: 1;
    }
    
    .header-modal {
        background: var(--card);
        border-radius: 16px;
        padding: 32px;
        max-width: 450px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .header-modal-close {
        position: absolute;
        top: 16px;
        left: 16px;
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--text-muted);
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s;
    }
    
    .header-modal-close:hover {
        background: var(--bg-secondary);
        color: var(--text);
    }
    
    .header-modal-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 24px 0;
        text-align: center;
    }
    
    .header-modal-input {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid var(--border);
        border-radius: 8px;
        font-size: 16px;
        margin-bottom: 16px;
        font-family: 'Cairo', sans-serif;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }
    
    .header-modal-input:focus {
        outline: none;
        border-color: var(--gold);
    }
    
    .header-modal-btn {
        width: 100%;
        padding: 14px;
        background: var(--gold);
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        font-family: 'Cairo', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .header-modal-btn:hover {
        background: var(--gold-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }
    
    .header-google-btn {
        width: 100%;
        padding: 14px;
        margin-bottom: 16px;
        background: #fff;
        border: 2px solid #ddd;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s;
        font-family: 'Cairo', sans-serif;
    }
    
    .header-google-btn:hover {
        background: #f5f5f5;
        border-color: #ccc;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    @media (max-width: 768px) {
        .header-modal {
            padding: 24px;
            width: 95%;
            max-height: 95vh;
        }
        
        .header-modal-title {
            font-size: 20px;
        }
    }