
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            /* Prevent automatic text enlargement on rotation */
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #fafafa;
            color: #1a1a1a;
            line-height: 1.8;
            overflow-x: hidden;
        }

        /* Hero Section */
        .portal-hero {
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            min-height: 60vh;
            padding: 6rem 1rem 4rem;
        }

        .portal-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://westgate-havanna.s3.us-east-1.amazonaws.com/Static+Files/online+frontpage.PNG') center/cover;
            opacity: 0.4;
        }

        .portal-hero::after {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(196,30,58,0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        /* Decorative elements */
        .decorative-line {
            width: 60px;
            height: 2px;
            background: #C41E3A;
        }

        /* Glass cards */
        .glass-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }

        /* Input styling */
        .luxury-input {
            background: #fafafa;
            border: 1px solid rgba(0,0,0,0.08);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .luxury-input:focus {
            border-color: #C41E3A;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
            outline: none;
        }

        /* Button effects */
        .btn-luxury {
            background: #C41E3A;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-luxury::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s;
        }

        .btn-luxury:hover::before {
            left: 100%;
        }

        .btn-luxury:hover {
            background: #8B0000;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
        }

        .btn-luxury:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Tab styling */
        .portal-tab {
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .portal-tab::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #C41E3A;
            transition: width 0.3s ease;
        }

        .portal-tab.active::after {
            width: 100%;
        }

        .portal-tab.active {
            color: #C41E3A;
        }

        /* Result cards */
        .result-card {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.06);
            transition: all 0.4s ease;
        }

        .result-card:hover {
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }

        /* Status badges */
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .status-confirmed {
            background: rgba(34, 197, 94, 0.1);
            color: #16a34a;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        .status-pending {
            background: rgba(245, 158, 11, 0.1);
            color: #d97706;
            border: 1px solid rgba(245, 158, 11, 0.2);
        }

        .status-closed {
            background: rgba(100, 116, 139, 0.1);
            color: #64748b;
            border: 1px solid rgba(100, 116, 139, 0.2);
        }

        .status-open {
            background: rgba(196, 30, 58, 0.1);
            color: #C41E3A;
            border: 1px solid rgba(196, 30, 58, 0.2);
        }

        /* Receipt styling */
        .receipt-header {
            background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
            border-bottom: 2px solid #C41E3A;
        }

        .receipt-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px dashed rgba(0,0,0,0.1);
        }

        .receipt-row:last-child {
            border-bottom: none;
        }

        /* Timeline for tickets */
        .timeline {
            position: relative;
            padding-left: 30px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, #C41E3A, rgba(196,30,58,0.2));
        }

        .timeline-item {
            position: relative;
            padding-bottom: 24px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 4px;
            width: 12px;
            height: 12px;
            background: #C41E3A;
            border-radius: 50%;
            border: 2px solid #ffffff;
            box-shadow: 0 0 0 2px #C41E3A;
        }

        .timeline-item.completed::before {
            background: #22c55e;
            box-shadow: 0 0 0 2px #22c55e;
        }

        /* Author badges for timeline entries */
        .author-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.18rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
        .author-badge .author-role { font-weight: 500; font-size: 0.65rem; opacity: 0.9; margin-left: 4px; }
        .author-badge.staff { background: #c41e3a; color: #fff; }
        .author-badge.staff .author-role { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); padding: 0.06rem 0.3rem; border-radius: 6px; }
        .author-badge.guest { background: #1d4ed8; color: #fff; }
        .author-badge.guest .author-role { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); padding: 0.06rem 0.3rem; border-radius: 6px; }
        .author-badge.unknown { background: #f3f4f6; color: #0f172a; border: 1px solid rgba(0,0,0,0.06); }
        .author-badge.system { background: #f3f4f6; color: #0f172a; border: 1px solid rgba(0,0,0,0.06); }

        /* Print styles */
        @media print {
            .no-print {
                display: none !important;
            }
            body {
                background: white;
            }
            .glass-card {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE STYLES — Receipt & Ticket Modals
   Comprehensive mobile-first improvements
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    /* ── Global Layout ── */
    main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* Remove outer margins from portal sections */
    #receipt-section,
    #ticket-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        padding: 1rem !important;
    }

    /* ── Hero Section ── */
    .portal-hero {
        min-height: 45vh;
        padding: 5rem 0.75rem 2.5rem;
    }
    .portal-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .portal-hero p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    .portal-hero .self-service-portal {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    /* ── Tab Navigation ── */
    .glass-card.rounded-2xl.p-2.mb-8 {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 0.5rem !important;
        gap: 0.25rem !important;
    }
    .portal-tab {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.1em !important;
        border-radius: 0.75rem !important;
        max-width: none !important;
        flex: 1 1 50% !important;
    }
    .portal-tab i {
        display: none;
    }

    /* ── Forms ── */
    #receipt-form,
    #ticket-form {
        padding: 0 0.25rem;
    }
    .luxury-input {
        padding: 0.875rem 1rem !important;
        font-size: 16px !important; /* Prevent iOS zoom */
    }
    .luxury-input::placeholder {
        font-size: 0.8rem;
    }

    /* ── Receipt Result Card ── */
    #receipt-result .result-card {
        border-radius: 0 !important;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    /* Receipt header */
    #receipt-result .receipt-header {
        padding: 1.25rem !important;
    }
    #receipt-result .receipt-header h3 {
        font-size: 1.1rem;
    }
    #receipt-result .receipt-header p {
        font-size: 0.75rem;
    }
    #receipt-result .receipt-header .grid {
        gap: 0.75rem !important;
    }
    #receipt-result .receipt-header .font-mono {
        font-size: 0.85rem;
    }

    /* Guest info section */
    #receipt-result .p-8.border-b {
        padding: 1.25rem !important;
    }
    #receipt-result .p-8.border-b h4 {
        font-size: 0.65rem;
        margin-bottom: 0.75rem !important;
    }
    #receipt-result .p-8.border-b .grid {
        gap: 0.75rem !important;
    }
    #receipt-result .p-8.border-b p.text-sm {
        font-size: 0.7rem;
        margin-bottom: 0.125rem !important;
    }
    #receipt-result .p-8.border-b p.font-medium {
        font-size: 0.8rem;
    }

    /* Reservation details */
    #receipt-result .receipt-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.625rem 0;
    }
    #receipt-result .receipt-row span:first-child {
        font-size: 0.7rem;
        color: rgba(0,0,0,0.5);
    }
    #receipt-result .receipt-row span:last-child {
        font-size: 0.85rem;
        font-weight: 500;
    }

    /* Payment summary */
    #receipt-result .p-8.bg-light-grey\/30 {
        padding: 1.25rem !important;
    }
    #receipt-result .p-8.bg-light-grey\/30 h4 {
        font-size: 0.65rem;
        margin-bottom: 0.75rem !important;
    }
    #receipt-result #receipt-payment-summary .flex.justify-between {
        flex-direction: column;
        gap: 0.125rem;
        padding: 0.375rem 0;
    }
    #receipt-result #receipt-payment-summary .flex.justify-between span:first-child {
        font-size: 0.75rem;
    }
    #receipt-result #receipt-payment-summary .flex.justify-between span:last-child {
        font-size: 0.8rem;
        font-weight: 500;
    }
    #receipt-result #receipt-payment-summary .border-t {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
    }
    #receipt-result #receipt-payment-summary .border-t span:first-child {
        font-size: 0.8rem;
    }
    #receipt-result #receipt-payment-summary .border-t span:last-child {
        font-size: 0.95rem;
    }

    /* Payment method area */
    #receipt-result .mt-6.pt-6.border-t {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
    }
    #receipt-result .mt-6.pt-6.border-t .flex.items-center.justify-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    /* ═══════════════════════════════════════════════════════════
       ACTION BUTTONS — Mobile Optimized
       ═══════════════════════════════════════════════════════════ */
    #receipt-result .p-6.bg-dark-grey,
    #ticket-result .p-6.bg-dark-grey {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }

    #receipt-result .p-6.bg-dark-grey > p,
    #ticket-result .p-6.bg-dark-grey > p {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
        margin-bottom: 0.25rem;
    }

    #receipt-result .p-6.bg-dark-grey > .flex,
    #ticket-result .p-6.bg-dark-grey > .flex {
        flex-direction: column !important;
        width: 100%;
        gap: 0.5rem !important;
    }

    #receipt-result .p-6.bg-dark-grey button,
    #ticket-result .p-6.bg-dark-grey button {
        width: 100% !important;
        justify-content: center;
        padding: 0.875rem 1rem !important;
        font-size: 0.8rem !important;
        min-height: 48px; /* Touch target compliance */
        border-radius: 0.625rem !important;
    }

    #receipt-result .p-6.bg-dark-grey button i,
    #ticket-result .p-6.bg-dark-grey button i {
        font-size: 0.85rem;
    }

    /* Priority ordering on mobile: primary actions first */
    #receipt-result .p-6.bg-dark-grey > .flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem !important;
    }

    /* Full-width for cancel on mobile (destructive action gets its own row) */
    #receipt-result #btn-cancel-reservation {
        grid-column: 1 / -1;
        order: 99;
        background: rgba(196, 30, 58, 0.9) !important;
    }

    /* ── Ticket Result ── */
    #ticket-result .result-card {
        border-radius: 0 !important;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    #ticket-result .p-8.border-b {
        padding: 1.25rem !important;
    }
    #ticket-result .p-8.border-b p.text-xs {
        font-size: 0.6rem !important;
    }
    #ticket-result .p-8.border-b h3 {
        font-size: 1.1rem;
    }
    #ticket-result .p-8.border-b .grid {
        gap: 0.75rem !important;
        grid-template-columns: 1fr !important;
    }
    #ticket-result .p-8.border-b .grid > div {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    #ticket-result .p-8.border-b .grid > div:last-child {
        border-bottom: none;
    }

    /* Ticket subject & description */
    #ticket-result .p-8.border-b.bg-light-grey\/20 {
        padding: 1.25rem !important;
    }
    #ticket-result .p-8.border-b.bg-light-grey\/20 h4 {
        font-size: 0.9rem;
    }
    #ticket-result .p-8.border-b.bg-light-grey\/20 p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* Timeline */
    #ticket-result .timeline {
        padding-left: 24px;
    }
    #ticket-result .timeline-item {
        padding-bottom: 1rem;
    }
    #ticket-result .timeline-item::before {
        left: -22px;
        width: 10px;
        height: 10px;
    }
    #ticket-result .timeline-item > div {
        padding: 0.875rem !important;
    }
    #ticket-result .timeline-item .flex.justify-between {
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 0.5rem !important;
    }
    #ticket-result .timeline-item .text-sm.font-medium {
        font-size: 0.8rem;
    }
    #ticket-result .timeline-item .text-xs {
        font-size: 0.65rem;
    }
    #ticket-result .timeline-item p.text-sm {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Author badges */
    .author-badge {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
    }
    .author-badge .author-role {
        font-size: 0.6rem !important;
    }

    /* Ticket response area */
    #ticket-response {
        padding: 1.25rem !important;
    }
    #ticket-response .flex.gap-4 {
        gap: 0.75rem !important;
    }
    #ticket-response .w-10.h-10 {
        width: 2rem !important;
        height: 2rem !important;
        min-width: 2rem;
    }
    #ticket-response .w-10.h-10 i {
        font-size: 0.7rem;
    }
    #ticket-response p.font-medium {
        font-size: 0.8rem;
    }
    #ticket-response p.text-xs {
        font-size: 0.65rem;
    }
    #ticket-response .bg-white.rounded-lg {
        padding: 0.875rem !important;
    }
    #ticket-response .bg-white.rounded-lg p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* ── Modals ── */
    .fixed.inset-0.z-50,
    .fixed.inset-0[style*="z-index:1030"],
    .fixed.inset-0[style*="z-index:1035"],
    .fixed.inset-0[style*="z-index:1045"] {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .fixed.inset-0 > .bg-white.rounded-lg,
    .fixed.inset-0 > .modal-luxury {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 1rem 1rem 0 0 !important;
        max-height: 90vh !important;
        margin: 0 !important;
        animation: slideUpModal 0.3s ease-out;
    }

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

    /* Modal header */
    .modal-luxury .p-6.border-b,
    .fixed.inset-0 .p-6.border-b {
        padding: 1rem 1.25rem !important;
    }
    .modal-luxury .p-6.border-b h3,
    .fixed.inset-0 .p-6.border-b h3 {
        font-size: 1.1rem;
    }

    /* Modal body */
    .modal-luxury .p-6,
    .fixed.inset-0 .p-6 {
        padding: 1rem 1.25rem !important;
    }
    .modal-luxury .p-6.space-y-4,
    .fixed.inset-0 .p-6.space-y-4 {
        gap: 0.75rem !important;
    }

    /* Modal form grids */
    .modal-luxury .grid.grid-cols-2,
    .modal-luxury .grid.grid-cols-3,
    .fixed.inset-0 .grid.grid-cols-2,
    .fixed.inset-0 .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Modal inputs */
    .modal-luxury .input-luxury,
    .fixed.inset-0 .input-luxury {
        padding: 0.75rem 0.875rem !important;
        font-size: 16px !important; /* Prevent iOS zoom */
    }

    /* Modal labels */
    .modal-luxury label,
    .fixed.inset-0 label {
        font-size: 0.7rem !important;
    }

    /* Modal footer buttons */
    .modal-luxury .p-6.border-t,
    .fixed.inset-0 .p-6.border-t {
        padding: 1rem 1.25rem !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .modal-luxury .p-6.border-t button,
    .fixed.inset-0 .p-6.border-t button {
        width: 100% !important;
        justify-content: center;
        min-height: 48px;
        font-size: 0.8rem !important;
    }

    /* Cancel modal specific */
    #cancel-modal .bg-white.rounded-lg {
        padding: 1.25rem !important;
    }
    #cancel-modal h3 {
        font-size: 1.1rem;
    }
    #cancel-modal .flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    #cancel-modal .flex.gap-2 input {
        width: 100%;
    }
    #cancel-modal .flex.gap-2 button {
        width: 100%;
        padding: 0.75rem;
    }
    #cancel-modal textarea {
        font-size: 16px !important;
    }
    #cancel-modal .flex.justify-end.gap-2 {
        flex-direction: column-reverse;
        gap: 0.5rem !important;
    }
    #cancel-modal .flex.justify-end.gap-2 button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* Modify PIN modal */
    #modify-pin-modal .bg-white.rounded-lg {
        padding: 1.25rem !important;
    }
    #modify-pin-modal .flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    #modify-pin-modal .flex.gap-2 input,
    #modify-pin-modal .flex.gap-2 button {
        width: 100%;
    }
    #modify-pin-modal .flex.justify-end.gap-2 {
        flex-direction: column-reverse;
        gap: 0.5rem !important;
    }
    #modify-pin-modal .flex.justify-end.gap-2 button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* Guest reply modal */
    #guest-ticket-reply-modal .bg-white.rounded-lg {
        padding: 1.25rem !important;
    }
    #guest-ticket-reply-modal h3 {
        font-size: 1.1rem;
    }
    #guest-ticket-reply-modal textarea {
        font-size: 16px !important;
    }
    #guest-ticket-reply-modal .flex.justify-end {
        justify-content: stretch !important;
    }
    #guest-ticket-reply-modal .flex.justify-end button {
        width: 100%;
        min-height: 48px;
    }

    /* Reservation modal */
    #reservation-modal .modal-luxury {
        border-radius: 1rem 1rem 0 0 !important;
    }
    #reservation-modal .p-6.border-b {
        padding: 1rem 1.25rem !important;
    }
    #reservation-modal .p-6.space-y-4 {
        padding: 1rem 1.25rem !important;
    }
    #reservation-modal .grid.grid-cols-2,
    #reservation-modal .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    #reservation-modal #res-amount-total-display {
        font-size: 1.1rem;
    }

    /* Ticket detail modal */
    #ticket-detail-modal .bg-white.rounded-2xl {
        border-radius: 1rem 1rem 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #ticket-detail-modal .px-6 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    #ticket-detail-modal h3 {
        font-size: 1.2rem;
    }
    #ticket-detail-modal .space-y-3 p {
        font-size: 0.8rem;
    }
    #ticket-detail-modal .flex.items-center.justify-end {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    #ticket-detail-modal .flex.items-center.justify-end button {
        width: 100%;
        min-height: 48px;
    }

    /* ── Empty States ── */
    .empty-state {
        padding: 2.5rem 1rem !important;
    }
    .empty-icon {
        width: 60px;
        height: 60px;
    }
    .empty-icon i {
        font-size: 1.5rem;
    }
    .empty-state h3 {
        font-size: 1.1rem;
    }
    .empty-state p {
        font-size: 0.8rem;
    }

    /* ── Help Section ── */
    main > section:last-child {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    main > section:last-child h3 {
        font-size: 1.3rem;
    }
    main > section:last-child p {
        font-size: 0.8rem;
    }
    main > section:last-child .flex.flex-wrap {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    main > section:last-child a {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem !important;
        font-size: 0.75rem !important;
        min-height: 48px;
    }

    /* ── New Search Button ── */
    #receipt-result + div,
    #ticket-result + div {
        margin-top: 1.5rem !important;
    }
    #receipt-result + div button,
    #ticket-result + div button {
        font-size: 0.8rem;
    }
}

/* Extra small devices (phones < 400px) */
@media (max-width: 400px) {
    .portal-hero h1 {
        font-size: 1.5rem;
    }
    .portal-tab {
        font-size: 0.6rem !important;
        padding: 0.625rem 0.375rem !important;
    }
    #receipt-result .receipt-header .grid {
        grid-template-columns: 1fr !important;
    }
    #receipt-result .receipt-header .text-right {
        text-align: left !important;
    }
    #receipt-result .p-6.bg-dark-grey > .flex {
        grid-template-columns: 1fr !important;
    }
}

        /* Animations */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-slide-up {
            animation: slideUp 0.5s ease forwards;
        }

        /* Loading spinner */
        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
        }

        /* Ensure Guest Services action buttons show background colors (used in templates) */
        #receipt-result .p-6 .bg-accent-red { background: var(--accent-red); color: #fff; }
        #receipt-result .p-6 .bg-accent-green { background: #16a34a; color: #fff; }
        #receipt-result .p-6 .bg-accent-blue { background: #2563eb; color: #fff; }
        #receipt-result .p-6 .bg-white\/10 { background: rgba(255,255,255,0.1); color: #fff; }
        #receipt-result .p-6 .hover\:bg-white\/20:hover { background: rgba(255,255,255,0.2); }
        #receipt-result .p-6 .hover\:bg-primary-red:hover { background: var(--primary-red); color: #fff; }

        /* Ensure buttons visually consistent */
        #receipt-result .p-6 button { border: none; cursor: pointer; }
        #receipt-result .p-6 button:disabled { opacity: 0.6; cursor: not-allowed; }

        /* Color popup/modal action buttons to ensure they are visible */
        #cancel-modal #confirm-cancel-btn,
        #reservation-modal #send-modify-code,
        #guest-ticket-reply-modal #guest-reply-send,
        #ticket-result #guest-ticket-reply-btn {
            background: var(--accent-red) !important;
            color: #fff !important;
            border: none;
        }

        #modify-pin-modal #confirm-modify-pin-btn,
        #reservation-modal .confirm-modify-btn {
            background: #16a34a !important; /* green */
            color: #fff !important;
            border: none;
        }

        /* Hover states */
        #cancel-modal #confirm-cancel-btn:hover,
        #reservation-modal #send-modify-code:hover,
        #guest-ticket-reply-modal #guest-reply-send:hover,
        #ticket-result #guest-ticket-reply-btn:hover { background: var(--primary-red); }

        #modify-pin-modal #confirm-modify-pin-btn:hover,
        #reservation-modal .confirm-modify-btn:hover { filter: brightness(0.95); }

        /* Ensure buttons inside modals have padding and rounded corners */
        #cancel-modal button,
        #reservation-modal button,
        #modify-pin-modal button,
        #guest-ticket-reply-modal button { padding: 0.5rem 1rem; border-radius: 0.5rem; }

        .empty-icon {
            width: 80px;
            height: 80px;
            background: rgba(196,30,58,0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
