/* VIP Transfer Luxury Design System & Animations */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Royal Metallic Champagne & Burnished Gold Palette */
    --gold-primary: #c5a059;
    --gold-light: #f5e4bd;
    --gold-dark: #916823;
    --gold-deep: #704e15;
    --bg-dark: #080b11;
    --bg-card: #0f1523;
    --bg-card-hover: #161e31;
    --border-gold: rgba(197, 160, 89, 0.35);
    --border-dark: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #f1f5f9;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(15, 21, 35, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-dark);
}

.glass-panel-gold {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(15, 21, 35, 0.85) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
}

.glass-modal {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.luxury-form-card {
    background: rgba(11, 16, 31, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 3px solid rgba(197, 160, 89, 0.75);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.22), 0 25px 60px rgba(0, 0, 0, 0.85);
    position: relative;
}

.luxury-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #f5e4bd 30%, #c5a059 70%, transparent 100%);
    pointer-events: none;
}

/* Luxury Gold Gradients & Text */
.gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f6e6c6 25%, #c5a059 65%, #8a621d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-btn {
    background: linear-gradient(135deg, #dfba73 0%, #c5a059 45%, #9b7226 100%);
    color: #080c14;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.28);
}

.gold-btn:hover {
    background: linear-gradient(135deg, #faebd0 0%, #d5af64 45%, #a87b2b 100%);
    box-shadow: 0 6px 28px rgba(197, 160, 89, 0.45);
    transform: translateY(-2px);
}

.gold-btn-outline {
    background: rgba(197, 160, 89, 0.08);
    border: 1.5px solid rgba(197, 160, 89, 0.55);
    color: #edd9b0;
    transition: all 0.3s ease;
}

.gold-btn-outline:hover {
    background: rgba(197, 160, 89, 0.22);
    border-color: #f5e4bd;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Card Hover Elevation */
.luxury-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 160, 89, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080b11;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c5a059;
}

/* Shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(197,160,89,0.15) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 4s infinite;
}

/* Custom form inputs */
.luxury-input {
    background: rgba(10, 16, 28, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    transition: all 0.25s ease;
}

.luxury-input:focus {
    outline: none;
    border-color: #c5a059;
    background: rgba(10, 16, 28, 0.95);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

/* Badge pulse */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

.pulse-badge {
    animation: pulse-subtle 3s infinite ease-in-out;
}

/* ==========================================================================
   PRINT / SINGLE-PAGE PDF VOUCHER STYLESHEET (STRICT 1-PAGE ONLY)
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 5mm 6mm;
    }

    *, *::before, *::after {
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* 1. ISOLATED SINGLE-PAGE PRINT CONTAINER */
    body.is-printing-receipt > *:not(#receipt-print-root) {
        display: none !important;
    }

    body.is-printing-receipt {
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }

    #receipt-print-root {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #receipt-print-root .print-receipt-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 14px 18px !important;
        background: #ffffff !important;
        border: 2px solid #c5a059 !important;
        border-radius: 12px !important;
        color: #0f172a !important;
        box-sizing: border-box !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    /* Fallback standard print rules (if printing directly via Ctrl+P / Cmd+P) */
    body:not(.is-printing-receipt) header,
    body:not(.is-printing-receipt) footer,
    body:not(.is-printing-receipt) nav,
    body:not(.is-printing-receipt) aside,
    body:not(.is-printing-receipt) form,
    body:not(.is-printing-receipt) .no-print,
    body:not(.is-printing-receipt) [class*="navbar"],
    body:not(.is-printing-receipt) [class*="footer"],
    body:not(.is-printing-receipt) .floating-whatsapp,
    body:not(.is-printing-receipt) .toast,
    body:not(.is-printing-receipt) .breadcrumb,
    body:not(.is-printing-receipt) button {
        display: none !important;
    }

    body:not(.is-printing-receipt) .modal-backdrop {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        display: block !important;
    }

    body:not(.is-printing-receipt) .print-receipt-card {
        display: block !important;
        background: #ffffff !important;
        border: 2px solid #c5a059 !important;
        border-radius: 12px !important;
        color: #0f172a !important;
        padding: 14px 18px !important;
        margin: 0 auto !important;
    }

    /* Universal Print Typography & Clean Colors */
    .print-receipt-card .no-print,
    #receipt-print-root .no-print {
        display: none !important;
    }

    .print-receipt-card .text-white {
        color: #0f172a !important;
    }

    .print-receipt-card .text-slate-200,
    .print-receipt-card .text-slate-300 {
        color: #1e293b !important;
    }

    .print-receipt-card .text-slate-400,
    .print-receipt-card .text-slate-500 {
        color: #475569 !important;
    }

    .print-receipt-card .border-slate-800 {
        border-color: #cbd5e1 !important;
    }

    .print-receipt-card .bg-slate-950,
    .print-receipt-card .bg-slate-900,
    .print-receipt-card .bg-slate-950\/70,
    .print-receipt-card .bg-slate-950\/60 {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        padding: 8px 12px !important;
    }

    .print-receipt-card .bg-emerald-500 {
        background-color: #10b981 !important;
        color: #ffffff !important;
    }

    .print-receipt-card .bg-\[\#c5a059\] {
        background-color: #c5a059 !important;
        color: #ffffff !important;
    }

    .print-receipt-card .bg-purple-500 {
        background-color: #8b5cf6 !important;
        color: #ffffff !important;
    }

    .print-receipt-card .bg-blue-500 {
        background-color: #3b82f6 !important;
        color: #ffffff !important;
    }
}
