/* LUXE ORDER — Premium Luxury Styling System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:wght@400;700&display=swap');

:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F5E6A8;
    --color-gold-dark: #B38F22;
    --color-champagne: #FFF8E7;
    --color-champagne-light: #FFFCF5;
    --color-white: #FFFDF8;
    --color-surface: #F8F9FA;
    --color-border: #E5E7EB;
    --color-dark: #1F2937;
    --color-secondary: #6B7280;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Amiri', serif;
}

body {
    font-family: var(--font-main);
    background-color: #F9FAFB;
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
}

.arabic-blessing {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* Luxury Gradients */
.bg-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C85E 50%, #B38F22 100%);
}

.bg-gradient-gold-subtle {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(245, 230, 168, 0.15) 100%);
}

.bg-gradient-champagne {
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF8E7 100%);
}

.border-gold-subtle {
    border-color: rgba(212, 175, 55, 0.25);
}

.gold-glow {
    box-shadow: 0 4px 20px -2px rgba(212, 175, 55, 0.25);
}

.card-luxury {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-luxury:hover {
    box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

/* Sidebar Styling */
#sidebar {
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-expanded {
    width: 16rem; /* 256px */
}

.sidebar-collapsed {
    width: 5rem; /* 80px */
}

.sidebar-collapsed .sidebar-text {
    display: none !important;
}

.sidebar-collapsed .sidebar-item {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Active Nav Item */
.nav-active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.14) 0%, rgba(245, 230, 168, 0.06) 100%);
    color: #997819 !important;
    border-left: 4px solid #D4AF37;
    font-weight: 600;
}

/* Status Badges */
.badge-submitted {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.badge-received {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.25s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-hide {
    opacity: 0;
    transform: translateX(100%);
}

/* Modal styling */
.modal-backdrop {
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    transition: opacity 0.2s ease;
}

.modal-content {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Floating label and input styling */
.input-luxury {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-luxury:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Hide scrollbar utility for clean mobile horizontal scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

/* Print Optimization */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-size: 12pt;
    }
    
    #sidebar,
    #header,
    #mobile-nav,
    .no-print,
    button,
    .toast,
    #toast-container {
        display: none !important;
    }

    #main-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .print-only {
        display: block !important;
    }

    .card-luxury {
        box-shadow: none !important;
        border: 1px solid #CCCCCC !important;
    }
}
