﻿:root {
    --brand: #00aeef;
}

/* Side bar */
.nav-section .nav-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem;
    color: #212529;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nav-section .nav-item:hover {
    background: #f6f6f6;
    color: var(--brand);
}

.nav-section .nav-item.active {
    background: transparent;
    color: var(--brand);
    font-weight: 700;
}

.nav-section .nav-icon {
    width: 30px;
    height: 30px;
}


.text-main-blue {
    color: var(--brand);
}


.custom-box {
    background-color: #ffffff;
    border-radius: 25px;
    border: 1.5px solid #00aeef;
    padding: 0.75rem 1.25rem;
    color: #212529;
    cursor: default;
}

/* Tab inside pane */
.nav-tabs .nav-link {
    border: 1.5px solid #00aeef;
    color: var(--brand);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.nav-tabs .nav-link.active {
    background-color: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
    font-weight: bold;
}

/* Booking tabs - desktop: original style, mobile: two column */
.booking-tabs-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: auto;
    margin: 0;
    padding: 10px 0 10px 0;
    list-style: none;
}

.booking-tabs-container .booking-tab-item {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    margin: 0;
    margin-right: 1rem;
    min-width: 0;
}

.booking-tabs-container .booking-tab-item:last-child {
    margin-right: 0;
}

.booking-tab-link {
    border: 1.5px solid #00aeef;
    color: var(--brand);
    border-radius: 50px;
    padding: 0.5rem 0.5rem;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    display: block;
    text-align: center;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

.booking-tab-link.active {
    background-color: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
    font-weight: bold;
}

.booking-tab-link:hover {
    background-color: #f6f6f6;
    color: var(--brand);
    text-decoration: none;
}

.booking-tab-link.active:hover {
    background-color: var(--brand);
    color: #ffffff;
}

.card {
    transition: none;
}

.card:hover {
    transform: none;
}

/* Rotate icon */
.rotate-icon {
    transition: transform .25s ease;
    transform-origin: center;
}

.collapse-toggle:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

.collapse-toggle {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.btn-pill {
    border: 1.5px solid #dc2626;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.btn-pill--outline {
    background: #fff;
    color: #dc2626;
}

.btn-pill--outline:hover {
    background: #fee2e2;
    color: #991b1b;
    border-color: #991b1b;
}

.btn-pill--solid {
    background: #dc2626;
    color: #fff;
}

.btn-pill--solid:hover {
    background: #991b1b;
    color: #fff;
    border-color: #991b1b;
}

#saveProfileInfoBtn:disabled {
    background-color: #727272;
    border: none;
    cursor: not-allowed;
}

.dropdown-item:focus {
    color: inherit;
    background-color: transparent;
    font-weight: bold;
}

/* Input box */
.custom-border {
    border: 1px solid var(--brand);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.custom-border::placeholder {
    font-weight: bold;
    opacity: 0.5;
}

/* Password: hide the default eye toggle icon  */
#passwordTab input[type="password"]::-ms-reveal,
#passwordTab input[type="password"]::-ms-clear {
    display: none;
    visibility: hidden;
}

#passwordTab input[type="password"] {
    letter-spacing: 0.1rem;
}

#bookingsTab {
    max-height: 100vh;
    /*overflow: scroll;*/
    overflow: auto;
}

#bookingsTab .tab-pane {
    min-height: 22.5rem;
}

#reviewsTab {
    max-height: 100vh;
    /*overflow: scroll;*/
    overflow: auto;
}

#reviewsTab .tab-pane {
    min-height: 22.5rem;
}

.review-tab-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #00aeef;
    font-weight: 600;
}

.review-tab-link.active {
    border-bottom-color: #00aeef;
    color: #00aeef;
}

#VoucherTab {
    max-height: 100vh;
    /*overflow: scroll;*/
    overflow: auto;
}

.profile-img {
    display: block;
    transition: 0.3s ease;
}

/* Hide icon initially */
.camera-icon {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

/* Show icon when hover */
.position-relative:hover .camera-icon {
    opacity: 1;
}

/*.position-relative:hover .profile-img {
    filter: brightness(0.4);
}*/

.qr-block img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qr-block p {
    text-align: center !important;
    width: 100%;
}

/* Mobile Styles */
/* Mobile User Profile */
.mobile-user-profile {
    background-color: #ffffff;
}

.mobile-user-profile .user-info a {
    color: var(--brand);
}

/* Mobile Booking Cards */
.mobile-booking-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    background-color: #ffffff;
}

.mobile-booking-card .card-body {
    padding: 1rem;
}

.mobile-booking-card p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.mobile-booking-card strong {
    font-weight: 600;
}

/* Mobile In-Page Navigation (3 Column Menu) */
.mobile-inpage-nav {
    margin-top: 1rem;
}

.mobile-inpage-nav .row {
    margin: 0;
}

.mobile-inpage-nav .col-4 {
    padding: 0.25rem;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: var(--brand);
    transition: all 0.2s;
    border-radius: 0.5rem;
    background-color: #f8f8f8;
    height: 100%;
}

.mobile-nav-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
    color: var(--brand);
    transform: translateY(-2px);
}

.mobile-nav-link.active {
    background-color: #e8e8e8;
    border: 1px solid var(--brand);
}

.mobile-nav-link .mobile-nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.5rem;
}

.mobile-nav-link span {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Mobile & Tablet Container Adjustments (below lg breakpoint) */
@media (max-width: 991.98px) {
    .container.p-5 {
        padding: 1rem !important;
    }

    .mobile-user-profile {
        margin-bottom: 1rem;
    }

    #bookingsTab {
        max-height: none;
        overflow: visible;
    }

    #bookingsTab .tab-pane {
        min-height: auto;
    }

    .custom-box {
        border-radius: 0.75rem;
        padding: 1rem;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .nav-tabs .nav-link {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .nav-tabs .nav-link:not(.active) {
        background-color: #f5f5f5;
        color: #666;
    }

    /* Mobile/Tablet: two column layout */
    .booking-tabs-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
    }

    .booking-tabs-container .booking-tab-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        margin: 0 !important;
        padding: 0 0.25rem;
    }

    .booking-tabs-container .booking-tab-item:first-child {
        padding-left: 0;
        padding-right: 0.25rem;
    }

    .booking-tabs-container .booking-tab-item:last-child {
        padding-right: 0;
        padding-left: 0.25rem;
        margin-right: 0;
    }

    .booking-tab-link {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }

    .mobile-booking-card .btn-pill {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .mobile-booking-card .collapse-toggle {
        color: var(--brand);
    }

    .mobile-booking-card .collapse-toggle:hover {
        color: var(--brand);
        opacity: 0.8;
    }

    /* Password section mobile-first */
    .password-field-wrapper {
        width: 100%;
    }

    .password-field-wrapper label {
        text-align: left;
    }

    #passwordTab .btn-pill {
        width: 100%;
    }
}

/* Mobile-specific adjustments (phones only) */
@media (max-width: 575.98px) {
    .container.p-5 {
        padding: 0.75rem !important;
    }

    .mobile-nav-link span {
        font-size: 0.7rem;
    }

    .mobile-nav-link .mobile-nav-icon {
        width: 24px;
        height: 24px;
    }
}

/* Tablet view: 768px - 991px - Enhanced mobile layout */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Larger container padding for tablets */
    .container.p-5 {
        padding: 1.5rem !important;
    }

    /* Bigger profile section for tablets */
    .mobile-user-profile {
        padding: 1rem;
    }

    .mobile-user-profile .d-flex.align-items-center {
        padding: 1rem;
    }

    #profileImageMobile {
        width: 5rem !important;
        height: 5rem !important;
    }

    .mobile-user-profile .profile-fullname {
        font-size: 1.25rem !important;
    }

    .mobile-user-profile .user-info a {
        font-size: 1rem !important;
    }

    /* Larger navigation icons and text for tablets */
    .mobile-nav-link .mobile-nav-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-nav-link span {
        font-size: 0.875rem;
    }

    .mobile-inpage-nav .col-4 {
        padding: 0.5rem;
    }

    .mobile-nav-link > div {
        padding: 1.25rem !important;
    }

    /* Better custom box styling */
    .custom-box {
        border-radius: 1rem;
        padding: 1.5rem;
    }

    /* Adjust profile panel padding */
    .profile-panel {
        padding: 1.5rem !important;
    }

    /* Adjust heading sizes */
    .profile-panel h4 {
        font-size: 1.25rem;
    }

    /* Larger form inputs */
    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    /* Adjust tab links for tablets */
    .nav-tabs .nav-link {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    /* Adjust booking tab links */
    .booking-tab-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Better button sizing */
    .btn-pill {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    /* Adjust modal widths */
    .modal-dialog {
        max-width: 85%;
    }

    /* Two-column form layout on tablets */
    .profile-panel .row.g-3 .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .profile-panel .row.g-3 .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .profile-panel .row.g-3 .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

/* Desktop: Password section (lg and up) */
@media (min-width: 992px) {
    .password-field-wrapper {
        max-width: 700px;
    }

    #passwordTab .d-flex.flex-column.flex-md-row {
        max-width: 700px;
    }

    #passwordTab .btn-pill {
        width: auto;
    }

    /* Desktop sidebar column widths */
    .row.g-4 > .col-lg-3 {
        width: 25%;
        max-width: 25%;
    }

    .row.g-4 > .col-lg-9 {
        width: 75%;
        max-width: 75%;
    }

    #profileImage {
        width: 7rem !important;
        height: 7rem !important;
    }

    .nav-section .nav-item {
        font-size: 18px;
        padding: 0.8rem;
        gap: 1.5rem;
    }

    .nav-section .nav-icon {
        width: 30px;
        height: 30px;
    }

    .custom-box[style*="height: 60vh"] {
        /*height: 60vh !important;*/
        height: auto !important;
        min-height: 60vh;
    }
}

/* Smaller desktop screens: 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Slightly narrower sidebar */
    .row.g-4 > .col-lg-3 {
        width: 28%;
        max-width: 28%;
    }

    .row.g-4 > .col-lg-9 {
        width: 72%;
        max-width: 72%;
    }

    /* Reduce profile image size */
    #profileImage {
        width: 5.5rem !important;
        height: 5.5rem !important;
    }

    /* Adjust navigation items */
    .nav-section .nav-item {
        font-size: 15px;
        padding: 0.6rem;
        gap: 1rem;
    }

    .nav-section .nav-icon {
        width: 24px;
        height: 24px;
    }

    /* Adjust user info text */
    .user-info {
        font-size: 0.9rem !important;
    }

    .user-info .profile-fullname {
        font-size: 1rem !important;
    }

    .user-info a {
        font-size: 0.85rem !important;
    }

    /* Adjust sidebar box height */
    .custom-box[style*="height: 60vh"] {
        height: auto !important;
        min-height: 50vh;
    }
}

#voucherTabList .voucher-card-item {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);
    border: 1.5px solid #e8e8e8;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

    #voucherTabList .voucher-card-item:hover {
        box-shadow: 0 3px 14px rgba(111, 66, 193, 0.18);
        border-color: #c9a0f5;
    }

    #voucherTabList .voucher-card-item.expired {
        filter: grayscale(100%);
        opacity: 0.52;
        cursor: not-allowed;
        pointer-events: none;
    }

#voucherTabList .voucher-left-side {
    width: 88px;
    min-width: 88px;
    background-color: #6f42c1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    padding: 1rem 0.4rem;
    gap: 4px;
    pointer-events: none;
}

    #voucherTabList .voucher-left-side .amount {
        font-weight: 800;
        font-size: 1.3rem;
        line-height: 1;
        white-space: nowrap;
    }

    #voucherTabList .voucher-left-side .label {
        font-size: 0.55rem;
        font-weight: 700;
        opacity: 0.9;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
    }

#voucherTabList .dotted-divider {
    width: 26px;
    min-width: 26px;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    background: linear-gradient(to right, #6f42c1 50%, #ffffff 50%);
}

    #voucherTabList .dotted-divider::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle, #ffffff 7.5px, transparent 7.5px);
        background-size: 26px 20px;
        background-repeat: repeat-y;
        background-position: center top;
    }

#voucherTabList .info-container {
    pointer-events: none;
    min-width: 0;
    overflow: hidden;
}

#voucherTabList .tc-link-btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    background: none;
    border: 1px solid #00aeef;
    color: #00aeef;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

    #voucherTabList .tc-link-btn:hover {
        background: #00aeef;
        color: #fff;
    }

#voucherTabList .btn-pill,
.profile-voucher-use-btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* ── DESKTOP action column: T&C + Use Now side by side ── */
.voucher-action-desktop {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem;
}

    .voucher-action-desktop .profile-voucher-use-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        white-space: nowrap;
    }

    .voucher-desktop-tc {
        display: block;
        pointer-events: auto;
    }

/* ── MOBILE bottom row: hidden on desktop ── */
.voucher-mobile-bottom-row {
    display: none;
}

.profile-voucher-unavailable-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #888;
    background: #f0f0f0;
    border: 1px solid #bbb;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}

/* ── MOBILE only (≤575px) ── */
@media (max-width: 575.98px) {

    /* Hide desktop action column entirely */
    .voucher-action-desktop {
        display: none !important;
    }

    .voucher-desktop-tc {
        display: none !important;
    }

    /* Show mobile bottom row: T&C left, Use Now right */
    .voucher-mobile-bottom-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-top: 6px;
        pointer-events: auto;
    }

        .voucher-mobile-bottom-row .profile-voucher-use-btn {
            font-size: 0.72rem;
            padding: 0.3rem 0.7rem;
            white-space: nowrap;
        }

        .voucher-mobile-bottom-row .tc-link-btn {
            font-size: 0.68rem;
            padding: 2px 6px;
        }

    #voucherTabList .voucher-left-side {
        width: 80px;
        min-width: 80px;
        padding: 0.5rem 0.25rem;
        text-align: center;
    }

        #voucherTabList .voucher-left-side .amount {
            font-size: 1rem;
            white-space: nowrap;
            max-width: 100%;
        }

        #voucherTabList .voucher-left-side .label {
            font-size: 0.55rem;
            letter-spacing: 0.04em;
            line-height: 1.1;
            max-width: 100%;
            word-break: normal;
            white-space: nowrap;
        }

    #voucherTabList .dotted-divider {
        width: 20px;
        min-width: 20px;
    }

        #voucherTabList .dotted-divider::after {
            background-size: 20px 18px;
        }

    #voucherTabList .info-container p.fw-bold {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #voucherTabList .info-container .text-muted.small {
        font-size: 0.72rem;
    }

    #voucherTabList .voucher-category-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 8px;
        margin-top: 4px;
        margin-bottom: 10px;
        border-bottom: 1px dashed #e5e5e5;
    }

    #voucherTabList .voucher-category-label {
        font-size: 0.72rem;
        font-weight: 700;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    #voucherTabList .voucher-category-header[data-status="Available"] {
        border-left: 3px solid #26aa99;
    }

    #voucherTabList .voucher-category-header[data-status="Used"] {
        border-left: 3px solid #6c757d;
    }

    #voucherTabList .voucher-category-header[data-status="Expired"] {
        border-left: 3px solid #adb5bd;
    }

    #voucherTabList .voucher-category-header[data-status="Unavailable"] {
        border-left: 3px solid #ced4da;
    }

    #voucherTabList .voucher-card-item[data-status="Used"] {
        filter: none;
        opacity: 0.75;
    }

        #voucherTabList .voucher-card-item[data-status="Used"] .voucher-left-side {
            background: #6c757d;
        }

        #voucherTabList .voucher-card-item[data-status="Used"] .dotted-divider {
            background: linear-gradient(to right, #6c757d 50%, #ffffff 50%);
        } 

    #voucherTabList .voucher-card-item[data-status="Expired"] {
        filter: none;
        opacity: 0.7;
    }

        #voucherTabList .voucher-card-item[data-status="Expired"] .voucher-left-side {
            background: #adb5bd;
        }

        #voucherTabList .voucher-card-item[data-status="Expired"] .dotted-divider {
            background: linear-gradient(to right, #adb5bd 50%, #ffffff 50%);
        }

    #voucherTabList .voucher-card-item[data-status="Unavailable"] {
        filter: none;
        opacity: 0.65;
    }

        #voucherTabList .voucher-card-item[data-status="Unavailable"] .voucher-left-side {
            background: #ced4da;
        }

        #voucherTabList .voucher-card-item[data-status="Unavailable"] .dotted-divider {
            background: linear-gradient(to right, #ced4da 50%, #ffffff 50%);
        }

    .voucher-card-item[data-status="Used"] .profile-voucher-unavailable-badge {
        color: #fff;
        background: #6c757d;
        border-color: #6c757d;
    }

    .voucher-card-item[data-status="Expired"] .profile-voucher-unavailable-badge {
        color: #495057;
        background: #dee2e6;
        border-color: #dee2e6;
    }

    .voucher-card-item[data-status="Unavailable"] .profile-voucher-unavailable-badge {
        color: #495057;
        background: #e9ecef;
        border-color: #e9ecef;
    }

}

/* OnlyTicket (2026-10-26): member-profile sections ported from WEB_CORE (header QR, Rewards, My Vouchers, Annual Pass) */
.nav-section .nav-icon-fa,
.mobile-nav-link .mobile-nav-fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ot-brand, #e31e24);
}

.nav-section .nav-icon-fa {
    width: 30px;
    height: 30px;
    font-size: 22px;
}

.mobile-nav-link .mobile-nav-fa {
    width: 28px;
    height: 28px;
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.ot-joined-since {
    font-size: 0.85rem;
    color: #6c757d;
}

.ot-qr-login-btn {
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 10px;
    padding: 4px 10px;
    font-size: 0.85rem;
    color: #212529;
}

    .ot-qr-login-btn:hover {
        border-color: var(--ot-brand, #e31e24);
        color: var(--ot-brand, #e31e24);
    }

.ot-qr-login-img {
    width: 240px;
    max-width: 100%;
    border-radius: 12px;
}

.ot-brand-rule {
    border: 1.5px solid var(--ot-brand, #e31e24);
    opacity: 1;
}

.ot-link-brand {
    color: var(--ot-brand, #e31e24);
    text-decoration: none;
    font-weight: 600;
}

    .ot-link-brand:hover {
        text-decoration: underline;
        color: #991b1b;
    }

.ot-badge-brand {
    background: var(--ot-brand, #e31e24);
    color: #fff;
}

.ot-tier-card {
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--ot-brand, #e31e24) 0%, #991b1b 100%);
}

.ot-tier-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.ot-tier-points {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.ot-tier-points-label {
    font-size: 0.8rem;
    font-weight: 600;
    vertical-align: super;
}

.ot-tier-message {
    font-size: 0.85rem;
    opacity: .9;
}

.ot-tier-progress {
    height: 0.5rem;
    background: rgba(255, 255, 255, .3);
    max-width: 420px;
}

    .ot-tier-progress .progress-bar {
        background: #fff;
    }

.ot-tier-card .btn-pill--outline {
    border-color: #fff;
}

.ot-reward-card {
    border-radius: 14px;
    border: 1px solid #eceef2;
}

.ot-reward-card.expired-card,
.ot-reward-disabled {
    opacity: .5;
    filter: grayscale(1);
}

.ot-reward-qr {
    width: 96px;
    height: 96px;
    border-radius: 8px;
}

.ot-reward-catalogue-img {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--ot-brand, #e31e24);
    background: #fdecec;
    border-radius: 14px 14px 0 0;
}

.ot-reward-remark img {
    max-width: 100%;
    height: auto;
}

.ot-history-wrap {
    max-height: 60vh;
    overflow-y: auto;
}

.ot-history-table th {
    position: sticky;
    top: 0;
    background: #fff;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ot-history-table td {
    font-size: 0.85rem;
}

.ot-detail-list dt {
    font-weight: 600;
    font-size: 0.9rem;
}

.ot-detail-list dd {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.ot-evoucher-card,
.ot-pass-card {
    border-radius: 14px;
    border: 1px solid #eceef2;
}

.ot-evoucher-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--ot-brand, #e31e24);
    background: #fdecec;
}

.ot-evoucher-expired {
    opacity: .6;
}

.ot-evoucher-item {
    border-radius: 12px;
    border: 1px solid #eceef2;
    cursor: pointer;
}

    .ot-evoucher-item:has(.ot-evoucher-select:checked) {
        border-color: var(--ot-brand, #e31e24);
        background: #fff7f7;
    }

.ot-evoucher-qr {
    width: 96px;
    height: 96px;
    border-radius: 8px;
}

.ot-pass-qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.ot-pass-renewed {
    background: #fffaf0;
}

.ot-pass-expired {
    background: #f8f9fa;
}

.ot-profile-select-hint {
    font-size: 0.8rem;
    color: #6c757d;
}

/* OnlyTicket (2026-10-27): header actions - My QR is the stand-out (filled red) button,
   Update profile an outline button, so members can see where to click. */
.ot-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.ot-profile-actions--stack {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

    .ot-profile-actions--stack .ot-qr-login-btn,
    .ot-profile-actions--stack .ot-update-profile-btn {
        width: 100%;
        justify-content: center;
        white-space: nowrap;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.9rem;
    }

.ot-profile-actions .ot-qr-login-btn {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: var(--ot-brand, #e31e24);
    color: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(227,30,36,.28);
    animation: otQrPulse 2.4s ease-in-out 3;
}

    .ot-profile-actions .ot-qr-login-btn:hover,
    .ot-profile-actions .ot-qr-login-btn:focus-visible {
        background: #c4161b;
        color: #fff;
    }

    .ot-profile-actions .ot-qr-login-btn i {
        font-size: 1.1rem;
    }

.ot-update-profile-btn,
.user-info .nav-item.ot-update-profile-btn,
.mobile-user-profile .user-info a.ot-update-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--ot-brand, #e31e24);
    background: #fff;
    color: var(--ot-brand, #e31e24);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

    .ot-update-profile-btn:hover,
    .ot-update-profile-btn.active,
    .user-info .nav-item.ot-update-profile-btn:hover,
    .user-info .nav-item.ot-update-profile-btn.active {
        background: var(--ot-brand-light, #fdecec);
        color: var(--ot-brand, #e31e24);
    }

@keyframes otQrPulse {
    0%, 100% { box-shadow: 0 6px 16px rgba(227,30,36,.28); }
    50% { box-shadow: 0 0 0 6px rgba(227,30,36,.18), 0 6px 16px rgba(227,30,36,.28); }
}

@media (prefers-reduced-motion: reduce) {
    .ot-profile-actions .ot-qr-login-btn { animation: none; }
}

/* OnlyTicket (2026-10-27): My Purchase - purchase QR + a labelled "View tickets (n)" button instead of a bare chevron */
.ot-purchase-qr {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    padding: 4px;
    border: 1px solid #e6e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: zoom-in;
}

    .ot-purchase-qr img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .ot-purchase-qr:hover {
        border-color: var(--ot-brand, #e31e24);
    }

.collapse-toggle.ot-tickets-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px !important;
    border: 1.5px solid #1e2130 !important;
    border-radius: 999px !important;
    background: #1e2130 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

    .collapse-toggle.ot-tickets-toggle:hover {
        background: #000 !important;
        color: #fff !important;
    }

    .collapse-toggle.ot-tickets-toggle:not(.collapsed) {
        background: #fff !important;
        color: #1e2130 !important;
    }

.ot-tickets-toggle .when-open { display: none; }
.ot-tickets-toggle:not(.collapsed) .when-open { display: inline; }
.ot-tickets-toggle:not(.collapsed) .when-collapsed { display: none; }

/* OnlyTicket (2026-10-27): Ticket Info - one card per ticket */
.ot-tkt-grid {
    display: grid;
    /* 2 columns only when each card gets 380px+, otherwise 1 (narrow profile column / phone) */
    grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
    gap: 14px;
}


.ot-tkt-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,33,48,.05);
}

    .ot-tkt-card.is-inactive { background: #fafbfc; }
    .ot-tkt-card.is-inactive .ot-tkt-qr img { opacity: .45; }

.ot-tkt-qr {
    flex: 0 0 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid #e6e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: zoom-in;
}

    .ot-tkt-qr img { width: 98px; height: 98px; object-fit: contain; }
    .ot-tkt-qr:hover { border-color: var(--ot-brand, #e31e24); }

.ot-tkt-qr-hint { font-size: 11px; color: #9aa0ad; white-space: nowrap; }
.ot-tkt-body { flex: 1; min-width: 0; }
.ot-tkt-title { font-weight: 700; color: #1e2130; margin: 0; font-size: 15px; line-height: 1.3; }
.ot-tkt-item { font-size: 13px; color: #6b7084; margin: 4px 0 8px; }

.ot-tkt-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    margin: 0;
    font-size: 13px;
}

    .ot-tkt-meta dt { font-weight: 500; color: #9aa0ad; }
    .ot-tkt-meta dd { margin: 0; color: #1e2130; overflow-wrap: anywhere; }

.ot-tkt-badge {
    flex: 0 0 auto;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.ot-tkt-badge--new { background: #e7f8ef; color: #07a050; }
.ot-tkt-badge--used { background: #eef0f4; color: #6b7084; }
.ot-tkt-badge--expired { background: #fdecec; color: #e31e24; }

/* Pop-ups using this class: keep a long reference on one line (the QR popup itself is css/qr-popup.css) */
.swal2-popup.ot-swal-popup .swal2-title { font-size: 18px; word-break: normal; overflow-wrap: anywhere; }

/* OnlyTicket (2026-10-27, user): My Purchase card - QR + buttons first, details after (label / value grid) */
.ot-purchase-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    font-size: 0.95rem;
}

    .ot-purchase-meta dt { font-weight: 600; color: #1e2130; white-space: nowrap; }
    .ot-purchase-meta dd { margin: 0; color: #3a3f52; overflow-wrap: anywhere; }

.ot-purchase-mobile { text-align: center; }
.ot-purchase-mobile .ot-purchase-meta { text-align: left; padding-top: 12px; border-top: 1px dashed #e6e8f0; }

.ot-purchase-qr.ot-purchase-qr--lg {
    width: 160px;
    height: 160px;
    padding: 8px;
    margin: 0 auto;
    display: block;
}

.ot-purchase-qr-hint { font-size: 12px; color: #9aa0ad; margin-top: 6px; }

/* 2026-11-06: phones: details on the left, QR on the right (My Ticket, /my-tickets, purchase card and its tickets page). Tap the QR to enlarge. */
@media (max-width: 991.98px) {
    .ot-tkt-card { flex-direction: row-reverse; align-items: flex-start; gap: 10px; padding: 12px; }
    .ot-tkt-qr { flex: 0 0 96px; padding: 4px; }
    .ot-tkt-qr img { width: 86px; height: 86px; }
    .ot-tkt-qr-hint { font-size: 10px; }
}

/* 2026-11-06: phone My Purchase card */
.ot-purchase-m { border: 1px solid #e6e8f0; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(30,33,48,.05); overflow: hidden; }
.ot-purchase-m .ot-tkt-card { border: 0; border-radius: 0; box-shadow: none; background: none; }
.ot-purchase-m-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.ot-purchase-m-actions .btn-pill { flex: 1 1 auto; white-space: nowrap; }
.ot-purchase-m-actions .ot-purchase-m-view { flex: 1 1 100%; }
.ot-purchase-m-wait { flex: 1 1 100%; padding: 6px 0; text-align: center; font-size: 13.5px; color: #6b7084; }
@media (max-width: 767.98px) {
    .mobile-booking-card { border: 0; background: none; box-shadow: none !important; margin-bottom: 14px !important; }
    .mobile-booking-card > .card-body { padding: 0; }
}

/* 2026-11-06: /account is the phone menu: /profile?tab=<section> shows that one section, with a way back (class set at the top of Profile.cshtml) */
.ot-acct-back { display: none; }
@media (max-width: 991.98px) {
    html.ot-acct-section .container.p-5 { padding: 8px 14px 24px !important; }
    html.ot-acct-section .mobile-user-profile { display: none !important; }
    html.ot-acct-section.ot-acct-info .mobile-user-profile { display: block !important; }
    html.ot-acct-section .mobile-inpage-nav { display: none !important; }
    html.ot-acct-section .ot-faq { display: none !important; }
    html.ot-acct-section .profile-panel { padding: 14px !important; }
    html.ot-acct-section .ot-acct-back, html.ot-acct-section .ot-acct-back:visited { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 4px; color: var(--ot-brand, #e31e24); font-size: 14.5px; font-weight: 600; text-decoration: none; }
}

/* OnlyTicket (2026-10-27): birthday promotion nudge on Personal Info (profile.js otUpdateBirthdayNudge) */
.ot-bday-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff4e6, #fdecec);
    border: 1.5px solid #f6c6c7;
}

    .ot-bday-banner.d-none { display: none !important; }

.ot-bday-banner-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e31e24;
    color: #fff;
    font-size: 22px;
}

.ot-bday-banner-body { flex: 1; min-width: 0; }
.ot-bday-banner-title { font-weight: 700; color: #1e2130; font-size: 16px; }
.ot-bday-banner-text { color: #3a3f52; font-size: 14px; }

.ot-bday-banner-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 9px 18px;
    background: #e31e24;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

    .ot-bday-banner-btn:hover { background: #c4161b; }

@media (max-width: 575.98px) {
    .ot-bday-banner { flex-wrap: wrap; }
    .ot-bday-banner-btn { width: 100%; }
}

.ot-bday-field {
    padding: 10px 12px 12px;
    border: 1.5px dashed #e31e24;
    border-radius: 12px;
    background: #fff7f7;
}

    .ot-bday-field label { color: #e31e24; font-weight: 600; }
    .ot-bday-field.is-set { border-style: solid; border-color: #b7e4c7; background: #f3fbf6; }
    .ot-bday-field.is-set label { color: #07a050; }

.ot-bday-field input { max-width: 280px; }
.ot-bday-help { margin-top: 6px; font-size: 12.5px; color: #6b7084; line-height: 1.4; }
.ot-bday-field.is-set .ot-bday-help { color: #07a050; }

/* OnlyTicket (2026-10-27): My Annual Pass preview of the Jungle Gym Club for members without a pass (_partialAnnualPassPromo) */
.ot-jgc { border-top: 1px solid #e6e8f0; padding-top: 24px; }

.ot-jgc-hero {
    position: relative;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

    .ot-jgc-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(20,22,34,.82) 0%, rgba(20,22,34,.45) 55%, rgba(20,22,34,0) 100%);
    }

.ot-jgc-hero-text { position: relative; padding: 22px; color: #fff; max-width: 70%; }
.ot-jgc-hero-text h5 { font-weight: 700; font-size: 22px; margin: 8px 0 6px; color: #fff; }
.ot-jgc-hero-text p { margin: 0; font-size: 14px; color: #f1f2f6; }
.ot-jgc-hero-text b { color: #ffd166; font-size: 16px; }
.ot-jgc-normal { opacity: .8; }

.ot-jgc-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e31e24;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.ot-jgc-sticker {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: #ffd166;
    color: #1e2130;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    transform: rotate(-8deg);
}

    .ot-jgc-sticker small { font-size: 10px; font-weight: 700; letter-spacing: .05em; }
    .ot-jgc-sticker b { font-size: 21px; font-weight: 800; }

.ot-jgc-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 1199.98px) { .ot-jgc-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ot-jgc-b {
    border: 1px solid #e6e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

    .ot-jgc-b .art { height: 96px; display: flex; align-items: center; justify-content: center; background: #f0fdf4; }
    .ot-jgc-b .art img { max-height: 76px; max-width: 70%; object-fit: contain; }
    .ot-jgc-b .body { padding: 10px 12px 12px; }
    .ot-jgc-b h6 { font-weight: 700; font-size: 14px; margin: 0 0 4px; color: #1e2130; }
    .ot-jgc-b p { font-size: 12.5px; color: #4a4f63; line-height: 1.45; margin: 0; }

.ot-jgc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff7f7;
    border: 1.5px solid #f6c6c7;
}

    .ot-jgc-cta b { display: block; color: #1e2130; }
    .ot-jgc-cta span { font-size: 13px; color: #6b7084; }

.ot-jgc-cta-btns { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 575.98px) {
    .ot-jgc-hero { min-height: 240px; }
    .ot-jgc-hero-text { max-width: 100%; padding: 16px; }
    .ot-jgc-hero-text h5 { font-size: 19px; }
    .ot-jgc-sticker { width: 76px; height: 76px; top: 12px; right: 12px; }
    .ot-jgc-sticker b { font-size: 17px; }
    .ot-jgc-cta { flex-direction: column; align-items: stretch; }
    .ot-jgc-cta-btns { flex-direction: column; }
    .ot-jgc-cta-btns a { text-align: center; }
}

/* 2026-10-27: Receipt (download) + eye (view in a new tab) side by side */
.ot-receipt-actions { display: flex; gap: 6px; }
.ot-receipt-actions > a { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
/* 2026-11-01: Receipt (download) and View (new tab) side by side, same size, both labelled */

/* OnlyTicket (2026-10-27, user): selected profile menu item = light blue badge (pill); the icon always follows the
   text colour. (Tried solid red, then light red; user picked light blue.) Blue text is a darker shade for contrast. */
.nav-section .nav-item {
    border-radius: 999px;
    margin-bottom: 4px;
    padding: 0.7rem 1.1rem;
    gap: 1rem;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

    .nav-section .nav-item .nav-icon-fa { color: var(--ot-brand, #e31e24); transition: color .2s; }

    .nav-section .nav-item:hover:not(.active) {
        background: #f3fbfe;
        color: #0089bd;
    }

        .nav-section .nav-item:hover:not(.active) .nav-icon-fa { color: #0089bd; }

    .nav-section .nav-item.active,
    .nav-section .nav-item.active:hover {
        background: #e3f6fd;
        border-color: #00aeef;
        color: #0089bd;
        font-weight: 700;
    }

        .nav-section .nav-item.active .nav-icon-fa { color: #0089bd; }

/* Mobile / tablet tiles: same - selected tile light blue with a blue outline, blue icon and label */
.mobile-nav-link .mobile-nav-fa { transition: color .2s; }

.mobile-nav-link.active {
    background-color: #e3f6fd;
    border: 1.5px solid #00aeef;
}

    .mobile-nav-link.active .mobile-nav-fa,
    .mobile-nav-link.active span { color: #0089bd !important; }

/* OnlyTicket (2026-11-01): My Annual Pass as Jungle Gym Club cards (Views/Partials/User/_partialAnnualPass.cshtml).
   Sizes inside the card use cqw so the card keeps its look from phone to desktop. QR zoom: js/profile.js. */
.jgp-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.jgp-item { min-width: 0; }
.jgp-card { position: relative; aspect-ratio: 1.586; border-radius: 22px; color: #fff;
            background: radial-gradient(120% 90% at 18% 8%, #43a94f 0%, #22803a 48%, #15672c 100%);
            border: 4px solid #fffaf0; box-shadow: 0 0 0 2px #1d7633, 0 14px 30px rgba(21,103,44,.30);
            transition: transform .25s ease, box-shadow .25s ease; container-type: inline-size; }
.jgp-card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 0 0 2px #1d7633, 0 20px 38px rgba(21,103,44,.36); }
.jgp-deco { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; pointer-events: none; }
.jgp-card::before { content: ""; position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.jgp-leaf { position: absolute; pointer-events: none; }
.jgp-leaf.l1 { left: -14px; top: -10px; width: 34%; }
.jgp-leaf.l2 { right: -10px; bottom: -14px; width: 36%; }
.jgp-leaf.l3 { left: -12px; bottom: -16px; width: 26%; opacity: .9; }
.jgp-in { position: relative; height: 100%; padding: 4.4cqw 5cqw; display: flex; flex-direction: column; }
.jgp-head { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 2.6cqw; padding-right: 22cqw; }
.jgp-monkey { width: 23cqw; height: auto; margin: -1.4cqw 0 -1.4cqw -1cqw; flex: 0 0 auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.15)); transform-origin: 50% 90%; animation: jgp-wiggle 3.2s ease-in-out infinite; }
@keyframes jgp-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(7deg); } 95% { transform: rotate(-4deg); } }
.jgp-brand { line-height: 1; }
/* theme.css forces the site font with !important; the id selector wins for the card title (Fredoka, lib/fredoka, loaded by Profile.cshtml) */
#annualPassContent .jgp-title, #annualPassContent .jgp-ribbon, #annualPassContent .jgp-no { font-family: 'Fredoka', 'Segoe UI', system-ui, sans-serif !important; }
.jgp-title { font-weight: 700; color: #6b3a1e; font-size: 6.6cqw; letter-spacing: -.2px;
             text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1.5px 1.5px #fff, -1.5px -1.5px #fff, 1.5px -1.5px #fff, -1.5px 1.5px #fff, 0 4px 0 rgba(0,0,0,.18); }
.jgp-ribbon { display: inline-block; margin-top: 1.4cqw; padding: .6cqw 4.6cqw .9cqw; font-weight: 700;
              font-size: 4.4cqw; color: #fff; background: linear-gradient(#ff8a2b, #f06414); border: 2px solid #fff;
              clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.jgp-status { position: absolute; top: 4.4cqw; right: 5cqw; display: flex; flex-direction: column; align-items: flex-end; gap: 1.2cqw; }
.jgp-chip { font-size: 2.9cqw; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: .9cqw 2.6cqw; border-radius: 99px; background: #fffaf0; color: #15672c;
            box-shadow: 0 2px 0 rgba(0,0,0,.15); display: inline-flex; align-items: center; gap: 1.2cqw; }
.jgp-chip .dot { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #22c55e; animation: jgp-live 1.8s infinite; }
@keyframes jgp-live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 2.2cqw rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.jgp-chip.is-amber { background: #fff4d6; color: #8a5a00; }
.jgp-chip.is-amber .dot { background: #f59e0b; animation: none; }
.jgp-chip.is-red { background: #fff; color: #c4161c; }
.jgp-chip.is-red .dot { background: #e5484d; animation: none; }
.jgp-body { margin-top: auto; display: flex; align-items: flex-end; gap: 3cqw; }
.jgp-who { flex: 1; min-width: 0; }
.jgp-label { font-size: 2.6cqw; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; opacity: .82; }
.jgp-name { font-size: 5.4cqw; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.jgp-no { display: inline-block; margin: 1.6cqw 0 1.4cqw; padding: 1cqw 3.4cqw; border-radius: 99px; background: #fff2d6; color: #6b3a1e; font-weight: 900;
          font-size: 4.2cqw; letter-spacing: 1.4px; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.jgp-valid { display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 3cqw; font-weight: 800; color: #15672c; background: #fffaf0; padding: .9cqw 2.6cqw; border-radius: 99px; box-shadow: 0 2px 0 rgba(0,0,0,.15); white-space: nowrap; }
.jgp-valid i { color: #f06414; }
.jgp-qr { flex: 0 0 auto; width: 25cqw; aspect-ratio: 1; background: #fff; border-radius: 3.4cqw; padding: 1.8cqw; box-shadow: 0 4px 0 rgba(0,0,0,.16); cursor: zoom-in; position: relative; border: 0; }
.jgp-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.jgp-qr-hint { position: absolute; right: -1.8cqw; top: -1.8cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #f06414; color: #fff; border: 2px solid #fff; display: grid; place-items: center; font-size: 2.9cqw; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.jgp-spark { position: absolute; width: 3.4cqw; height: 3.4cqw; color: #ffd84d; animation: jgp-tw 2.4s ease-in-out infinite; pointer-events: none; }
.jgp-spark.s2 { animation-delay: .8s; }
.jgp-spark.s3 { animation-delay: 1.6s; }
@keyframes jgp-tw { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
.jgp-item.is-off .jgp-card { filter: grayscale(.9) brightness(.95); box-shadow: 0 0 0 2px #9aa0a6, 0 8px 18px rgba(0,0,0,.12); }
.jgp-item.is-off .jgp-card:hover { transform: none; }
.jgp-item.is-off .jgp-monkey, .jgp-item.is-off .jgp-spark { animation: none; }
.jgp-item.is-off .jgp-status { display: none; }
.jgp-stamp { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%) rotate(-12deg); border: .9cqw solid #e5484d; color: #e5484d; background: rgba(255,255,255,.92);
             font-weight: 900; font-size: 7cqw; letter-spacing: 2px; padding: .6cqw 4cqw; border-radius: 2cqw; text-transform: uppercase; }
.jgp-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 12px 4px 0; padding: 12px 14px; background: #f6f8f4; border: 1px solid #e3eadd; border-radius: 14px; font-size: 13px; }
.jgp-meta .jgp-meta-wide { grid-column: 1 / -1; }
.jgp-meta dt { font-size: 11px; font-weight: 700; color: #6b7084; text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.jgp-meta dd { margin: 2px 0 0; font-weight: 600; color: #1e2130; word-break: break-word; }
.jgp-actions { display: flex; gap: 8px; margin: 10px 4px 0; }
.jgp-btn { flex: 1; min-height: 44px; border-radius: 12px; border: 2px solid #22803a; background: #fff; color: #15672c; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.jgp-btn.solid { background: #22803a; color: #fff; }
.jgp-btn:hover { background: #15672c; border-color: #15672c; color: #fff; }
.jgp-zoom { position: fixed; inset: 0; background: rgba(15,30,18,.72); display: none; align-items: center; justify-content: center; z-index: 1080; padding: 16px; }
.jgp-zoom.show { display: flex; }
.jgp-zoom-box { background: #fff; border-radius: 22px; padding: 22px; text-align: center; max-width: 340px; width: 100%; }
.jgp-zoom-box img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; }
.jgp-zoom-no { display: block; font-size: 20px; font-weight: 900; color: #6b3a1e; letter-spacing: 2px; margin-top: 10px; }
.jgp-zoom-name { color: #6b7084; font-size: 14px; text-transform: capitalize; }
@container (max-width: 380px) {
    .jgp-label { font-size: 3.2cqw; }
    .jgp-chip { font-size: 3.4cqw; padding: 1.1cqw 3cqw; }
    .jgp-valid { font-size: 3.4cqw; }
    .jgp-name { font-size: 6cqw; }
    .jgp-qr { width: 27cqw; }
}
@media (prefers-reduced-motion: reduce) {
    .jgp-card, .jgp-monkey, .jgp-spark, .jgp-chip .dot { animation: none !important; transition: none !important; }
}

/* OnlyTicket (2026-11-03): My Ticket with no tickets ready - up to 2 products picked from the purchase history
   (Views/Partials/User/_partialTicketSuggest.cshtml). */
.ot-tsug { max-width: 640px; margin: 8px auto 12px; }
.ot-tsug-head h6 { font-weight: 700; font-size: 16px; margin: 0 0 12px; color: #1d2433; }
.ot-tsug-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ot-tsug-grid:has(> :only-child) { grid-template-columns: minmax(0, 320px); }
.ot-tsug-card {
    display: flex; flex-direction: column; border: 1px solid #e5e8ee; border-radius: 14px; overflow: hidden; background: #fff;
    text-decoration: none; color: #1d2433; box-shadow: 0 4px 14px rgba(20, 26, 38, .06); transition: transform .12s, box-shadow .12s;
}
.ot-tsug-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 26, 38, .12); color: #1d2433; }
.ot-tsug-img { position: relative; aspect-ratio: 16 / 10; background: #f1f3f7 center / cover no-repeat; }
.ot-tsug-flag {
    position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
    letter-spacing: .03em; background: #fff; color: #1d2433; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.ot-tsug-flag.again { background: #dc2626; color: #fff; }
.ot-tsug-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ot-tsug-where { font-size: 11px; color: #687387; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.ot-tsug-title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ot-tsug-row { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #687387; }
.ot-tsug-row b { color: #1d2433; }
.ot-tsug-go { color: #dc2626; font-weight: 600; white-space: nowrap; }
/* 2026-11-04: "Buy now" button, same as the home page cards (.p-buy) */
.ot-tsug-buy {
    background: linear-gradient(135deg, #ff6a3d, #e31e24); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
    padding: 6px 12px; border-radius: 8px; box-shadow: 0 3px 10px rgba(227, 30, 36, .22); transition: transform .15s, box-shadow .15s;
}
.ot-tsug-card:hover .ot-tsug-buy { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(227, 30, 36, .3); }
@media (max-width: 520px) { .ot-tsug-grid, .ot-tsug-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); } }

/* 2026-11-07: Rewards. Ends of the progress bar; a sliver of progress still shows */
.ot-tier-progress .progress-bar { min-width: 8px; }
.ot-tier-ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; max-width: 420px; font-size: 12px; opacity: .92; }

/* Tier Benefits popup: head and close button from css/qr-popup.css */
.ot-tierp-crown { width: 1.35em; height: 1.35em; margin-right: 6px; vertical-align: -.3em; }
.ot-tierp-points { margin-top: 6px; font-size: 14px; opacity: .95; }
.ot-tierp-points b { font-size: 22px; font-weight: 800; }
.ot-tierp-body { padding: 18px 20px 20px; }
.ot-tierp-goal { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: var(--ot-brand-light, #fdecec); }
.ot-tierp-goal-text { font-size: 14px; color: #1e2130; }
.ot-tierp-goal-text b { color: var(--ot-brand, #e31e24); }
.ot-tierp-bar { height: 8px; margin-top: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.ot-tierp-bar span { display: block; height: 100%; min-width: 8px; border-radius: 999px; background: var(--ot-grad, #e31e24); }
.ot-tierp-ladder { list-style: none; margin: 0 0 18px; padding: 0; }
.ot-tierp-ladder li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.ot-tierp-ladder li:last-child { padding-bottom: 0; }
.ot-tierp-ladder li:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: #e6e8f0; }
.ot-tierp-ladder li.is-done:not(:last-child)::before { background: var(--ot-brand, #e31e24); }
.ot-tierp-dot { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid #d5d9e3; border-radius: 50%; background: #fff; color: #fff; }
.ot-tierp-dot svg { width: 14px; height: 14px; }
.is-done > .ot-tierp-dot, .is-current > .ot-tierp-dot { border-color: var(--ot-brand, #e31e24); background: var(--ot-brand, #e31e24); }
.is-current > .ot-tierp-dot { box-shadow: 0 0 0 4px var(--ot-brand-light, #fdecec); }
.ot-tierp-tier { flex: 1; min-width: 0; padding-top: 2px; }
.ot-tierp-tier-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ot-tierp-name { font-size: 15.5px; font-weight: 700; color: #1e2130; }
.is-next .ot-tierp-name { color: #4a5063; }
.ot-tierp-here { padding: 1px 8px; border-radius: 999px; background: var(--ot-brand-light, #fdecec); color: var(--ot-brand, #e31e24); font-size: 11.5px; font-weight: 700; }
.ot-tierp-need { margin-top: 2px; font-size: 13px; color: #6b7084; }
.ot-tierp-benefits { margin-top: 6px; font-size: 13.5px; color: #3a3f52; overflow-wrap: anywhere; }
.ot-tierp-cta, .ot-tierp-cta:visited { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: var(--ot-grad, #e31e24); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.ot-tierp-cta:hover { color: #fff; filter: brightness(.96); }

/* Phones and tablets */
@media (max-width: 991.98px) {
    /* Three tabs share the row, so none is pushed off the screen (Points History was) */
    .booking-tabs-container:has(> :nth-child(3)) .booking-tab-item { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; padding: 0 2px !important; }
    .booking-tabs-container:has(> :nth-child(3)) .booking-tab-link { padding: .5rem .25rem; font-size: 12.5px; white-space: nowrap; text-align: center; }

    /* The phone account uses the site's red, not the old blue, and the promo tab stays out of the way */
    html.ot-acct-section .booking-tab-link { border-color: #e6e8f0; color: #1e2130; }
    html.ot-acct-section .booking-tab-link.active, html.ot-acct-section .booking-tab-link.active:hover { background: var(--ot-brand, #e31e24); border-color: var(--ot-brand, #e31e24); color: #fff; }
    html.ot-acct-section .profile-panel hr { border-color: var(--ot-brand, #e31e24) !important; }
    html.ot-acct-section .ot-promo-tab { display: none !important; }

    /* Points History: one card per row, nothing to scroll sideways. Columns: date, event, points, total, expiry */
    html.ot-acct-section .ot-history-wrap { overflow: visible; }
    html.ot-acct-section .ot-history-table, html.ot-acct-section .ot-history-table tbody { display: block; width: 100%; }
    html.ot-acct-section .ot-history-table thead { display: none; }
    html.ot-acct-section .ot-history-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid #e6e8f0; }
    html.ot-acct-section .ot-history-table td { display: block; padding: 0; border: 0; white-space: normal !important; text-align: left !important; font-size: 13px; color: #6b7084; }
    html.ot-acct-section .ot-history-table td:nth-child(2) { grid-area: 1 / 1; font-size: 14.5px; font-weight: 600; color: #1e2130; }
    html.ot-acct-section .ot-history-table td:nth-child(3) { grid-area: 1 / 2; font-size: 15px; text-align: right !important; }
    html.ot-acct-section .ot-history-table td:nth-child(1) { grid-area: 2 / 1; }
    html.ot-acct-section .ot-history-table td:nth-child(4) { grid-area: 2 / 2; font-weight: 400 !important; text-align: right !important; }
    html.ot-acct-section .ot-history-table td:nth-child(4)::before { content: "Total "; }
    html.ot-acct-section .ot-history-table td:nth-child(5) { grid-area: 3 / 1 / 3 / 3; }
    html.ot-acct-section .ot-history-table td:nth-child(5):not(:empty)::before { content: "Expires "; }
}

.ot-empty-state { padding: 34px 20px; text-align: center; border-radius: 14px; background: var(--ot-card, #fff); border: 1px solid var(--ot-line, #e7e8ee); }
.ot-empty-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--ot-ink, #1e2130); }
.ot-empty-text { margin: 0 0 16px; font-size: 14px; color: var(--ot-muted, #6b7080); }
.ot-empty-btn, .ot-empty-btn:visited { display: inline-block; padding: 11px 34px; border-radius: 999px; background: var(--ot-brand, #e31e24); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.ot-empty-btn:hover { color: #fff; opacity: .92; }
.ot-empty-login { margin: 14px 0 0; font-size: 13.5px; color: var(--ot-muted, #6b7080); }
.ot-empty-login button { border: 0; background: none; padding: 0; color: var(--ot-brand, #e31e24); font-weight: 600; cursor: pointer; }
