/*
   RESERVATION WIZARD - ENHANCED VERSION WITH COMPLETE UI
   ====================================================== */

.tickets {
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.tickets .contents {
    flex: 1;
    background: linear-gradient(to right, #00a29c 25%, #fff 25%);
}

/* ========================
   SIDEBAR STYLES
   ======================== */
.reservation-sidebar {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-right: 0.5rem;
    margin-top: 120px;
    padding-bottom: 40px;
    padding-right: 1rem;
}

.reservation-sidebar::-webkit-scrollbar {
    width: 40px;
}

.reservation-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.reservation-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.reservation-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.step-counters {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.step-counter {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 3rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-counter.active {
    opacity: 1;
}

.step-counter .number {
    width: 44px;
    height: 44px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    background-color: #00a29c;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    line-height: 1 !important;
}

.step-counter.active .number {
    background-color: #fff;
    color: #00a29c;
}

.step-counter::after {
    content: '';
    position: absolute;
    top: 44px;
    bottom: 0;
    left: 22px;
    width: 1.5px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.step-counter:last-child {
    padding-bottom: 0;
}

.step-counter:last-child::after {
    display: none !important;
}

.step-counter .content {
    color: #fff;
    padding-top: 8px;
}

.step-counter .content p {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
}

.step-counter .content ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: block !important;
}

.step-counter .content ul li {
    display: block !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
    opacity: 0.9;
    color: #f0fdfa;
    padding-left: 0;
}

/* ========================
   MAIN CONTENT AREA
   ======================== */
.reservation-content {
    padding: 80px 60px 80px 60px !important;
    background-color: #fff;
}

.texts {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.texts .content h1 {
    color: #00a29c;
    font-weight: 900;
    font-size: 3.2rem;
    margin: 0;
}

.texts .content p {
    color: #767676;
    font-size: 1.2rem;
    margin: 0.5rem 0 0 0;
}

.basket {
    background-color: #00a29c;
    padding: 12px 28px;
    color: #fff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.basket:hover {
    background-color: transparent;
    color: #00a29c;
    border: 1px solid #00a29c;
}

/* ========================
   VOTE CONTENT BOXES
   ======================== */

/* STEP ONE: Category Selection (Grid with Icons) */
.step-one .vote-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-one .vote-content .box {
    display: grid;
    background-color: #16171d;
    width: calc(33.333% - 0.7rem);
    border-radius: 30px;
    padding: 4rem;
    gap: 4rem;
    height: 320px;
    align-content: center;
    transition: 0.3s;
    cursor: pointer;
}

.step-one .vote-content .box .icon {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 32px;
    color: #16171d;
}

.step-one .vote-content .box .icon img {
    filter: brightness(0);
    max-width: 32px;
    max-height: 32px;
    transition: 0.3s;
}

.step-one .vote-content .box .icon i {
    font-size: 32px;
    transition: 0.3s;
}

.step-one .vote-content .box h3 {
    color: #fff;
    font-weight: 700;
    max-width: 150px;
    transition: 0.3s;
    margin: 0;
}

.step-one .vote-content .box:hover,
.step-one .vote-content .box.active {
    background-color: #00a29c;
}

.step-one .vote-content .box:hover .icon i,
.step-one .vote-content .box.active .icon i {
    color: #00a29c;
}

/* STEP TWO: Program Selection (Horizontal Boxes) */
.step-two .vote-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-two .vote-content .box {
    width: calc(50% - 0.5rem);
    padding: 2rem;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
}

.step-two .vote-content .box img {
    max-width: 50px;
    max-height: 50px;
    filter: brightness(0);
    transition: 0.3s;
}

.step-two .vote-content .box .texts {
    display: grid;
    transition: 0.3s;
}

.step-two .vote-content .box .texts h4 {
    color: #000;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 0 0.5rem 0;
}

.step-two .vote-content .box .texts p {
    color: #868686;
    font-weight: 400;
    transition: 0.3s;
    margin: 0;
}

.step-two .vote-content .box:hover,
.step-two .vote-content .box.active {
    background-color: #00a29c;
    transition: 0.3s;
}

.step-two .vote-content .box:hover img,
.step-two .vote-content .box.active img {
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.step-two .vote-content .box:hover .texts *,
.step-two .vote-content .box.active .texts * {
    color: #fff;
    transition: 0.3s;
}

/* STEP THREE: Form Selection (Simple Boxes) */
.step-three .vote-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-three .vote-content .box {
    background-color: #16171d;
    border: 1px solid #16171d;
    color: #fff;
    border-radius: 50px;
    min-width: 280px;
    height: 100px;
    display: flex;
    align-items: center;
    padding:2rem;
    gap:2rem;
    transition: 0.3s;
    cursor: pointer;
}

.step-three .vote-content .box h3 {
    font-weight: 700;
    margin: 0;
}

.step-three .vote-content .box:hover,
.step-three .vote-content .box.active {
    color: #16171d;
    background-color: transparent;
    transition: 0.3s;
}

.step-three .vote-content .hr {
    width: 65%;
    height: 1px;
    background-color: #16171d;
    margin: 2rem 0;
}

/* ========================
   BUTTONS
   ======================== */
.buttons {
    display: flex;
    gap: 20px;
    margin-top: 5rem;
}

.steps-prev,
.steps-next {
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.steps-prev {
    background-color: #f1f1f1;
    color: #16171d;
    border: 1px solid #f1f1f1;
}

.steps-prev:hover {
    background-color: #16171d;
    color: #fff;
}

.steps-next {
    background-color: #16171d;
    color: #fff;
    border: 1px solid #16171d;
}

.steps-next:hover {
    background-color: transparent;
    color: #16171d;
}

.steps-next.active {
    background-color: #00a29c;
    border-color: #00a29c;
}

.steps-next.active:hover {
    background-color: transparent;
    color: #00a29c;
    border-color: #00a29c;
}

/* Wizard Buttons (for completed phase) */
.wizard-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    justify-content: center;
}

.btn-wizard {
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-wizard-prev {
    background-color: #f1f1f1;
    color: #16171d;
    border: 2px solid #f1f1f1;
}

.btn-wizard-prev:hover {
    background-color: #16171d;
    color: #fff;
    border-color: #16171d;
}

.btn-wizard-next {
    background-color: #16171d;
    color: #fff;
    border: 2px solid #16171d;
}

.btn-wizard-next:hover {
    background-color: transparent;
    color: #16171d;
}

.btn-wizard-next.active {
    background-color: #00a29c;
    border-color: #00a29c;
    color: #fff;
}

.btn-wizard-next.active:hover {
    background-color: transparent;
    color: #00a29c;
    border-color: #00a29c;
}

/* ========================
   CUSTOM SELECT INPUTS
   ======================== */
.web-select-input .custom-select,
.custom-select {
    position: relative;
    width: 100%;
    border-radius: 15px !important;
    background-color: #fff !important;
    border: 2px solid #e0e0e0 !important;
    padding: 1rem 1.5rem !important;
    display: flex;
    align-items: center;
    color: #16171d !important;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.web-select-input .custom-select:hover,
.custom-select:hover {
    border-color: #00a29c !important;
}

.web-select-input .custom-select:focus-within,
.custom-select:focus-within {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.1) !important;
}

.web-select-input .custom-select select,
.custom-select select {
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #16171d !important;
    width: 100% !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    padding-right: 2rem;
}

.web-select-input .custom-select select option,
.custom-select select option {
    padding: 0.75rem 1rem !important;
    background-color: #fff !important;
    color: #16171d !important;
}

.web-select-input .custom-select select option:checked,
.web-select-input .custom-select select option:hover,
.custom-select select option:checked,
.custom-select select option:hover {
    background-color: #00a29c !important;
    color: #fff !important;
}

.web-select-input .custom-select select option:disabled,
.custom-select select option:disabled {
    color: #999 !important;
    background-color: #f5f5f5 !important;
}

/* Dropdown icon */
.web-select-input .custom-select::after,
.custom-select::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    color: #00a29c !important;
    pointer-events: none;
    font-size: 0.875rem;
}

.custom-select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem;
}

.custom-select::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    pointer-events: none;
    color: #fff;
    font-size: 20px;
}

/* ========================
   STANDARD BOXES (Radio/Checkbox Style)
   ======================== */
.vote-content .box {
    transition: all 0.3s ease;
}

/* Wide Boxes (49% width) */
.vote-content .box.w-49 {
    background-color: transparent;
    border: 1px solid #16171d;
    color: #16171d;
    border-radius: 40px;
    width: calc(50% - 0.5rem);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vote-content .box.w-49 h3 {
    margin: 0;
    font-weight: 700;
}

.vote-content .box.w-49:hover,
.vote-content .box.w-49.active {
    background-color: #16171d;
    color: #fff;
}

/* Three Column Boxes (32% width) */
.vote-content .box.w-32 {
    background-color: transparent;
    border: 1px solid #16171d;
    color: #16171d;
    border-radius: 40px;
    width: calc(33.333% - 0.7rem);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vote-content .box.w-32 h3 {
    margin: 0;
    font-weight: 700;
}

.vote-content .box.w-32:hover,
.vote-content .box.w-32.active {
    background-color: #16171d;
    color: #fff;
}

/* Four Column Boxes (24% width) */
.vote-content .box.w-24 {
    background-color: transparent;
    border: 1px solid #16171d;
    color: #16171d;
    border-radius: 40px;
    width: calc(25% - 0.75rem);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vote-content .box.w-24 h3 {
    margin: 0;
    font-weight: 700;
}

.vote-content .box.w-24:hover,
.vote-content .box.w-24.active {
    background-color: #16171d;
    color: #fff;
}

/* ========================
   RANGE SLIDER
   ======================== */
.range-slider {
    width: 100%;
    padding: 2rem 0;
}

.range-slider label {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5rem;
    display: block;
    color: #1a1a1a;
}

.range-slider input[type="range"] {
    width: 100%;
    appearance: none;
    height: 5px;
    background: #d3d3d3;
    outline: none;
    border-radius: 5px;
    position: relative;
    margin: 20px 0;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 10;
    top: -7px;
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    background: #1a1a1a;
}

.range-slider .range-values {
    display: flex;
    justify-content: space-between;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    margin-top: 1rem;
}

/* ========================
   FORM INPUTS
   ======================== */
.vote-content input[type="text"],
.vote-content input[type="email"],
.vote-content input[type="tel"],
.vote-content input[type="number"],
.vote-content textarea {
    background-color: #fff;
    outline: none;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    margin-top: 2rem;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    color: #16171d;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.vote-content textarea {
    resize: vertical;
    min-height: 100px;
}

.vote-content input::placeholder,
.vote-content textarea::placeholder {
    color: #aaa;
}

.vote-content input:focus,
.vote-content textarea:focus {
    border-color: #00a29c;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.12);
}

.vote-content input.is-invalid,
.vote-content textarea.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Flatpickr Input Styles */
.vote-content .flatpickr-input {
    cursor: pointer;
}

/* Error States for Individual Fields */
.vote-content small.text-danger {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* ========================
   CALENDAR STYLES (Hello Week)
   ======================== */
.web-calendar-input .hello-week {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
}

.web-calendar-input .hello-week__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.web-calendar-input .hello-week__month {
    font-size: 2.5rem;
    font-weight: 900;
    color: #16171d;
    text-align: center;
    flex: 1;
    margin: 0;
}

.web-calendar-input .hello-week__nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.5rem;
    color: #16171d;
    padding: 0.5rem 1rem;
    transition: 0.3s;
    line-height: 1;
}

.web-calendar-input .hello-week__nav:hover {
    color: #00a29c;
}

.web-calendar-input .hello-week__week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.web-calendar-input .hello-week__label {
    text-align: center;
    font-weight: 700;
    color: #16171d;
    padding: 1rem;
    font-size: 1.1rem;
}

.web-calendar-input .hello-week__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
}

.web-calendar-input .hello-week__day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #16171d;
    background-color: transparent;
    min-height: 60px;
}

.web-calendar-input .hello-week__day:hover:not(.is-disabled) {
    background-color: rgba(0, 162, 156, 0.1);
    color: #00a29c;
    transform: scale(1.05);
}

.web-calendar-input .hello-week__day.is-today {
    background-color: #fff;
    border: 2px solid #00a29c;
    color: #00a29c;
    font-weight: 700;
}

.web-calendar-input .hello-week__day.is-selected {
    background-color: #00a29c !important;
    color: #fff !important;
    font-weight: 700;
}

.web-calendar-input .hello-week__day.is-disabled {
    color: #d3d3d3;
    cursor: not-allowed;
    opacity: 0.3;
}

.web-calendar-input .hello-week__day.is-weekend {
    color: #00a29c;
}

.web-calendar-input .hello-week__day--next-month,
.web-calendar-input .hello-week__day--prev-month {
    opacity: 0.3;
}

/* ========================
   SUMMARY/FINISH SCREEN
   ======================== */
.step-finish {
    align-content: center;
}

.step-finish .finish-content {
    max-width: 800px;
    margin: 0 auto;
}

.step-finish .order-summary h1 {
    color: #00a29c;
    font-weight: 900;
    margin-bottom: 2rem;
}

.step-finish .order-summary .items {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 4rem;
}

.step-finish .order-summary .items li {
    display: grid;
    justify-items: start;
    width: 180px;
    position: relative;
}

.step-finish .order-summary .items li::after {
    content: '';
    width: 1px;
    height: 60px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.26);
    right: 5%;
}

.step-finish .order-summary .items li:last-child::after {
    display: none;
}

.step-finish .order-summary .items li h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-finish .order-summary .items li p {
    color: #767676;
    margin: 0.25rem 0;
}

.step-finish .hr {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.26);
    margin: 2rem 0;
}

.step-finish .finish-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.step-finish .finish-buttons .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background-color: #16171d;
    border: 1px solid #16171d;
    color: #fff;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.step-finish .finish-buttons .buttons * {
    margin: 0;
    padding: 0;
}

.step-finish .finish-buttons .buttons:hover {
    color: #16171d;
    background-color: transparent;
    transition: 0.3s;
}

.step-finish .finish-buttons .buttons.payment {
    background-color: #00a29c;
    border-color: #00a29c;
}

.step-finish .finish-buttons .buttons.payment:hover {
    color: #00a29c;
    background-color: transparent;
}

/* ========================
   ALERTS & MESSAGES
   ======================== */
.alert {
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger {
    background-color: #fee;
    color: #dc3545;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* ========================
   LOADING STATES
   ======================== */
.opacity-50 {
    opacity: 0.5;
    pointer-events: none;
}

/* Wire Loading Indicator */
[wire\:loading] {
    opacity: 0.6;
    pointer-events: none;
}

/* ========================
   UTILITY CLASSES
   ======================== */
.text-muted {
    color: #767676 !important;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps.active {
    animation: fadeIn 0.3s ease-in-out;
}

.box {
    transition: all 0.3s ease;
}

.box:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 991px) {
    .tickets .contents {
        background: #fff;
    }

    .reservation-sidebar {
        background-color: #00a29c;
        padding: 80px 10px 10px 20px !important;
        min-height: auto;
    }

    .reservation-content {
        padding: 40px 20px !important;
    }

    .texts {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .texts .content h1 {
        font-size: 2rem;
    }

    .step-one .vote-content .box {
        width: 100%;
    }

    .step-two .vote-content .box {
        width: 100%;
    }

    .step-three .vote-content .box {
        min-width: 100%;
    }

    .vote-content .box.w-49,
    .vote-content .box.w-32,
    .vote-content .box.w-24 {
        width: 100%;
    }

    .buttons {
        flex-direction: column;
    }

    .steps-prev,
    .steps-next {
        width: 100%;
    }

    .step-finish .order-summary .items li {
        width: 100%;
    }

    .step-finish .finish-buttons {
        flex-direction: column;
    }

    .step-finish .finish-buttons .buttons {
        width: 100%;
    }
}

/* ========================================
   RESERVATION CONTENT - Scrollable Area
   ======================================== */

/* Main Content Area - Scrollable */
.reservation-content {
    margin-top: 150px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;
}

.reservation-content::-webkit-scrollbar {
    width: 8px;
}

.reservation-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reservation-content::-webkit-scrollbar-thumb {
    background: #00a29c;
    border-radius: 10px;
}

.reservation-content::-webkit-scrollbar-thumb:hover {
    background: #008a80;
}

/* ========================================
   TIMETABLE INPUT - Beautiful Calendar & Slots
   ======================================== */

/* Custom Premium Calendar Styling */
.custom-calendar-container {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h4 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #16171d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-header .nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #16171d;
}

.calendar-header .nav-btn:hover {
    background: #00a29c;
    color: #fff;
    border-color: #00a29c;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.weekday-label {
    text-align: center;
    font-weight: 800;
    color: #767676;
    font-size: 0.9rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
    color: #16171d;
    user-select: none;
}

.calendar-day.other-month {
    color: #d1d5db;
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}

.calendar-day.available {
    background-color: transparent;
}

.calendar-day.available:hover {
    background-color: rgba(0, 162, 156, 0.1);
    transform: translateY(-3px);
    color: #00a29c;
}

.calendar-day.selected {
    background-color: #00a29c !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 162, 156, 0.3);
}

.calendar-day.disabled {
    cursor: not-allowed;
    opacity: 0.15;
}

.calendar-day .status-dot {
    width: 6px;
    height: 6px;
    background-color: #00a29c;
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-day.available .status-dot {
    opacity: 1;
}

.calendar-day.selected .status-dot {
    background-color: #fff;
}

@media (max-width: 768px) {
    .custom-calendar-container {
        padding: 1.25rem;
    }

    .calendar-header h4 {
        font-size: 1.4rem;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        font-size: 1rem;
        border-radius: 12px;
    }
}


/* Timetable Side-by-Side Layout Styles */
.slots-scroll-container {
    height: 550px;
    overflow-y: auto;
    padding-right: 10px;
}

.slots-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.slots-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.slots-scroll-container::-webkit-scrollbar-thumb {
    background: #00a29c;
    border-radius: 10px;
}

.empty-slots-placeholder {
    height: 550px;
    background: #f8f9fa;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #e0e0e0;
}

.empty-slots-placeholder .content {
    color: #767676;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-slots-placeholder i {
    font-size: 3rem;
    color: #00a29c;
    opacity: 0.5;
    display: block;
}

.web-timetable-input .timetable-slot-box {
    background-color: #16171d;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    border: 1px solid #16171d;
}

.web-timetable-input .timetable-slot-box:not(.disabled):hover {
    background-color: rgba(22, 23, 29, 0.9);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.web-timetable-input .timetable-slot-box.active {
    background-color: #00a29c !important;
    border-color: #00a29c !important;
    box-shadow: 0 10px 30px rgba(0, 162, 156, 0.4);
    transform: translateX(8px);
}

.web-timetable-input .timetable-slot-box.disabled {
    background-color: #f5f5f5;
    color: #a0a0a0;
    border-color: #eeeeee;
}

.web-timetable-input .timetable-slot-box h4 {
    color: inherit;
}

.web-timetable-input .timetable-slot-box .selected-badge {
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.web-timetable-input .timetable-slot-box .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.web-timetable-input .timetable-slot-box .status-badge.available {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.web-timetable-input .timetable-slot-box.active .status-badge.available,
.web-timetable-input .timetable-slot-box:hover .status-badge.available {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.web-timetable-input .timetable-slot-box .status-badge.unavailable {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.web-timetable-input .timetable-slot-box.disabled .status-badge.unavailable {
    background-color: rgba(255, 255, 255, 0.3);
    color: #666;
}

.web-timetable-input .timetable-slot-box .status-badge .reason {
    font-weight: 400;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.web-timetable-input .timetable-slot-box .slot-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.web-timetable-input .timetable-slot-box .detail-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    opacity: 0.9;
}

.web-timetable-input .timetable-slot-box .detail-item i {
    opacity: 0.8;
}

.web-timetable-input .timetable-slot-box .detail-item.price {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.web-timetable-input .timetable-slot-box.active .detail-item.price,
.web-timetable-input .timetable-slot-box:not(.disabled):hover .detail-item.price {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Reservation Content Responsive */
@media (max-width: 768px) {
    .reservation-content {
        margin-top: 100px;
        max-height: calc(100vh - 120px);
        padding-right: 0.5rem;
    }

    .web-timetable-input .flatpickr-day {
        height: 40px !important;
        line-height: 40px !important;
        font-size: 0.85rem !important;
    }

    .web-timetable-input .flatpickr-current-month {
        font-size: 1.5rem !important;
    }

    .web-timetable-input .timetable-slot-box {
        padding: 1.25rem;
    }

    .web-timetable-input .timetable-slot-box h4 {
        font-size: 1.2rem !important;
    }

    .web-timetable-input .timetable-slot-box .slot-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   WEB SELECT INPUT - Custom Styled Selects
   ======================================== */

/* Web Select Container */
.web-select-input .custom-select {
    position: relative !important;
    width: 100% !important;
    border-radius: 15px !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    color: #16171d !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.web-select-input .custom-select:hover {
    border-color: #00a29c !important;
    box-shadow: 0 4px 8px rgba(0, 162, 156, 0.1) !important;
}

.web-select-input .custom-select:focus-within {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.15) !important;
}

/* Select Element */
.web-select-input .custom-select select {
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #16171d !important;
    width: 100% !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding-right: 2.5rem !important;
    font-family: "Montserrat", sans-serif !important;
}

/* Dropdown Arrow Icon */
.web-select-input .custom-select::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 1.5rem !important;
    color: #00a29c !important;
    pointer-events: none !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
}

.web-select-input .custom-select:focus-within::after {
    transform: rotate(180deg) !important;
}

/* Error State */
.web-select-input .is-invalid {
    border-color: #dc3545 !important;
}

.web-select-input .alert-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
}

/* ========================================
   CHOICES.JS CUSTOM STYLING
   ======================================== */

/* Main Container */
.choices-web {
    margin-bottom: 1.5rem !important;
}

.choices-web .choices__inner-web {
    background-color: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 15px !important;
    padding: 0.75rem 1.5rem !important;
    min-height: 50px !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.choices-web:hover .choices__inner-web {
    border-color: #00a29c !important;
}

.choices-web.is-focused .choices__inner-web,
.choices-web.is-open .choices__inner-web {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.15) !important;
}

/* Dropdown */
.choices__list--dropdown {
    border: 2px solid #00a29c !important;
    border-radius: 15px !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 162, 156, 0.15) !important;
    background-color: #fff !important;
}

.choices__list--dropdown .choices__item {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    color: #16171d !important;
    transition: all 0.2s ease !important;
}

.choices__list--dropdown .choices__item--selectable {
    padding-right: 1.5rem !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #00a29c !important;
    color: #fff !important;
}

/* Selected Items (Multiple) */
.choices__list--multiple .choices__item {
    background-color: #00a29c !important;
    border: 1px solid #00a29c !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 0.5rem 1rem !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: #008a80 !important;
    border-color: #008a80 !important;
}

/* Remove Button */
.choices__button {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: #fff !important;
    padding: 0 0.5rem !important;
    margin-left: 0.5rem !important;
}

.choices__button:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Search Input */
.choices__input {
    background-color: transparent !important;
    font-size: 1rem !important;
    color: #16171d !important;
    padding: 0.5rem !important;
}

.choices__input::placeholder {
    color: #999 !important;
}

/* Disabled State */
.choices-web.is-disabled .choices__inner-web {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* No Results */
.choices__item--choice.has-no-results {
    color: #999 !important;
    font-style: italic !important;
}

/* ==================== WEB SELECT2 CUSTOM STYLES ==================== */
/* Remove outer wrapper border for Select2 */
.web-select-input .custom-select,
.custom-select {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.web-select-input .custom-select::after,
.custom-select::after {
    display: none !important;
}

/* Select2 Container Full Width */
.select2-container {
    width: 100% !important;
}

/* Container */
.select2-container--default .select2-selection--single {
    height: 55px !important;
    border: 2px solid #00a29c !important;
    border-radius: 12px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
    transition: all 0.3s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.1) !important;
    outline: none !important;
}

/* Selection text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 55px !important;
    padding-left: 0 !important;
    color: #212529 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Placeholder styling */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999 !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    opacity: 1 !important;
    display: block !important;
}

/* Ensure placeholder is visible when empty */
.select2-container--default .select2-selection--single .select2-selection__rendered[title=""] {
    color: #999 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block !important;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 55px !important;
    right: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #00a29c transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
    margin-left: -5px !important;
    margin-top: -3px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #00a29c transparent !important;
    border-width: 0 5px 6px 5px !important;
}

/* Dropdown */
.select2-container--default .select2-dropdown {
    border: 2px solid #00a29c !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 4px 12px rgba(0, 162, 156, 0.15) !important;
    margin-top: -2px !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-radius: 12px 12px 0 0 !important;
}

.select2-container--default .select2-dropdown--above {
    border-top: 2px solid #00a29c !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    margin-top: 0 !important;
    margin-bottom: -2px !important;
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
    border-radius: 0 0 12px 12px !important;
}

/* Search box */
.select2-container--default .select2-search--dropdown {
    padding: 12px 16px !important;
    background-color: #fff !important;
    border-bottom: 1px solid #e9ecef !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid #00a29c !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 2px rgba(0, 162, 156, 0.1) !important;
}

/* Results */
.select2-container--default .select2-results__option {
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #00a29c !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(0, 162, 156, 0.1) !important;
    color: #00a29c !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-results__option--disabled {
    color: #adb5bd !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* No results */
.select2-container--default .select2-results__option.loading-results,
.select2-container--default .select2-results__option--selectable {
    cursor: pointer !important;
}

.select2-results__message {
    color: #6c757d !important;
    font-style: italic !important;
    padding: 12px 20px !important;
}

/* Disabled state */
.select2-container--default .select2-selection--single.select2-selection--disabled {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    border-color: #e9ecef !important;
    opacity: 0.7 !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    border-color: #e9ecef !important;
}

/* Clear button */
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #dc3545 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-right: 10px !important;
    transition: color 0.2s ease !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #c82333 !important;
}

/* Multiple Select Styles */
.select2-container--default .select2-selection--multiple {
    min-height: 55px !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 12px !important;
    padding: 8px 15px !important;
    background-color: #fff !important;
    transition: all 0.3s ease !important;
}

.select2-container--default .select2-selection--multiple:hover {
    border-color: #00a29c !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #00a29c !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.1) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #00a29c !important;
    border: 1px solid #00a29c !important;
    border-radius: 6px !important;
    color: #fff !important;
    padding: 6px 12px !important;
    margin: 4px 4px 4px 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    margin-right: 8px !important;
    font-size: 16px !important;
    transition: opacity 0.2s ease !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    opacity: 0.7 !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    margin-top: 8px !important;
    font-size: 16px !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: #6c757d !important;
}

/* ==================== WEB SUMMARY SECTION ==================== */
.web-summary-section {
    padding: 0;
}

.summary-title {
    color: #00a29c;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 162, 156, 0.08);
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.summary-table {
    display: flex;
    flex-direction: column;
}

.summary-row {
    display: flex;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

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

.summary-row.even {
    background-color: #f8f9fa;
}

.summary-row.odd {
    background-color: #fff;
}

.summary-row:hover {
    background-color: rgba(0, 162, 156, 0.03);
}

.summary-label {
    flex: 0 0 35%;
    font-weight: 700;
    color: #212529;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.summary-label i {
    color: #00a29c;
    font-size: 0.875rem;
}

.summary-value {
    flex: 1;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.summary-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #00a29c 0%, #008c82 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 162, 156, 0.2);
}

.summary-description {
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-row {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    .summary-label {
        flex: 1;
        font-weight: 700;
    }

    .summary-value {
        flex: 1;
        padding-left: 1.75rem;
    }
}

@media (max-width: 991px) {

    .slots-scroll-container,
    .empty-slots-placeholder {
        height: auto;
        min-height: 200px;
        max-height: 500px;
    }

    .web-timetable-input .timetable-slot-box:hover:not(.disabled),
    .web-timetable-input .timetable-slot-box.active {
        transform: none !important;
    }
}

/* ========================
   BASKET DETAIL PAGE
   ======================== */
.basket-page-wrapper {
    min-height: 100vh;
    padding: 10rem 1rem 5rem;
}

.basket-detail-page {
    max-width: 1100px;
    margin: 0 auto;
}

/* Two-column grid */
.basket-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.basket-detail-main {
    min-width: 0;
}

.basket-detail-sidebar {
    position: sticky;
    top: 7rem;
}

/* Summary card */
.basket-detail-summary {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.basket-detail-summary-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #16171d;
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.basket-detail-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.basket-detail-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #444;
}

.basket-detail-summary-line span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.basket-detail-summary-line span:last-child {
    font-weight: 700;
    color: #00a29c;
    flex-shrink: 0;
}

.basket-detail-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid #f0f5f5;
    margin-bottom: 1.25rem;
}

.basket-detail-summary-total span:first-child {
    font-size: 0.9rem;
    font-weight: 700;
    color: #636e72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.basket-detail-summary-total-amount {
    font-size: 1.75rem;
    font-weight: 900;
    color: #00a29c;
}

.basket-detail-btn-full {
    width: 100%;
    justify-content: center;
}

/* "Add more" link */
.basket-detail-add-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #00a29c;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
}

.basket-detail-add-more:hover {
    opacity: 0.75;
    color: #00a29c;
}

.basket-detail-header {
    margin-bottom: 1.5rem;
}

.basket-detail-header-top {
    margin-bottom: 1.25rem;
}

.basket-detail-header-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.basket-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #636e72;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

.basket-detail-back:hover {
    color: #00a29c;
}

.basket-detail-title {
    font-size: 2rem;
    font-weight: 900;
    color: #16171d;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.basket-detail-title i {
    color: #00a29c;
    margin-right: 0.5rem;
}

.basket-detail-subtitle {
    font-size: 0.95rem;
    color: #636e72;
    margin: 0;
    font-weight: 500;
}

/* Empty */
.basket-detail-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: #b2bec3;
}

.basket-detail-empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.basket-detail-empty p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Accordion list */
.basket-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.basket-detail-item {
    border: 1px solid #e4e6ea;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    margin-top: 10px;
}

.basket-detail-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.basket-detail-item-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 1.4rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.basket-detail-item-header:hover {
    background: #f8fffe;
}

.basket-detail-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.basket-detail-item-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: #16171d;
}

.basket-detail-item-code {
    font-size: 0.8rem;
    color: #aaa;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.basket-detail-item-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.basket-detail-item-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: #00a29c;
}

.basket-detail-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #555;
    transition: background 0.2s, transform 0.25s;
    flex-shrink: 0;
}

.basket-detail-item-header:hover .basket-detail-chevron {
    background: #e0f5f4;
    color: #00a29c;
}

/* Accordion body */
.basket-detail-item-body {
    border-top: 2px solid #f0f5f5;
    padding: 1.5rem 1.75rem;
    background: #f8fffe;
}

/* Variables table */
.basket-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.basket-detail-table tr.even {
    background: #fff;
}

.basket-detail-table tr.odd {
    background: #f3f4f6;
}

.basket-detail-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    vertical-align: top;
}

.basket-detail-table-label {
    font-weight: 600;
    color: #444;
    width: 45%;
}

.basket-detail-table-label i {
    color: #00a29c;
    margin-right: 0.4rem;
}

.basket-detail-table-value {
    color: #16171d;
}

.basket-detail-no-data {
    color: #b2bec3;
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

/* Item actions */
.basket-detail-item-actions {
    display: flex;
    justify-content: flex-end;
}

.basket-detail-btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffeef0;
    color: #d63031;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.basket-detail-btn-remove:hover {
    background: #ffd6d8;
}

/* Footer */
.basket-detail-footer {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.basket-detail-total {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.basket-detail-total span:first-child {
    font-size: 0.85rem;
    color: #636e72;
    font-weight: 600;
}

.basket-detail-total-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #00a29c;
}

.basket-detail-footer-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.basket-detail-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #00a29c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.basket-detail-btn-primary:hover {
    background: #008f8a;
    color: #fff;
}

.basket-detail-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    color: #16171d;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s;
}

.basket-detail-btn-secondary:hover {
    border-color: #00a29c;
    color: #00a29c;
}

@media (max-width: 900px) {
    .basket-detail-grid {
        grid-template-columns: 1fr;
    }

    .basket-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .basket-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .basket-detail-footer-actions {
        width: 100%;
        flex-direction: column;
    }

    .basket-detail-btn-primary,
    .basket-detail-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================
   EXPIRY TIMER COMPONENTS
   ======================== */

/* Form expiry pill — sits in the wizard .texts row next to basket button */
.form-expiry-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 162, 156, 0.1);
    color: #00a29c;
    border: 1.5px solid rgba(0, 162, 156, 0.35);
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.form-expiry-pill i {
    font-size: 1.15rem;
}

.form-expiry-pill--urgent {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.4);
    animation: expiry-pulse 1s ease-in-out infinite;
}

@keyframes expiry-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

/* Basket panel expiry bar — full-width strip between header and body */
.basket-panel-expiry-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(90deg, #00a29c 0%, #008c82 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.basket-panel-expiry-bar__left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0.9;
}

.basket-panel-expiry-bar__left i {
    font-size: 1rem;
}

.basket-panel-expiry-bar__time {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.basket-panel-expiry-bar--urgent {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    animation: expiry-pulse 1s ease-in-out infinite;
}

/* Basket detail expiry banner — full-width card below header */
.basket-detail-expiry-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #00a29c 0%, #008c82 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 162, 156, 0.25);
}

.basket-detail-expiry-banner__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.basket-detail-expiry-banner__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.basket-detail-expiry-banner__label {
    font-weight: 800;
    font-size: 1rem;
}

.basket-detail-expiry-banner__sub {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.basket-detail-expiry-banner__time {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.4rem 1rem;
    flex-shrink: 0;
}

.basket-detail-expiry-banner--urgent {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    animation: expiry-pulse 1s ease-in-out infinite;
}

@media (max-width: 600px) {
    .basket-detail-expiry-banner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .basket-detail-expiry-banner__time {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .form-expiry-pill {
        font-size: 0.9rem;
        padding: 0.55rem 1rem;
    }
}


/* ========================
   RESERVATION INDEX (LANDING)
   ======================== */
.reservation-hero {
    background-color: #00a29c;
    background-image: url('/storage/web/assets/img/header/bg.png');
    padding: 10rem 0 8rem 0;
    text-align: center;
    color: #fff;
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
}

.reservation-hero__inner {
    max-width: 640px;
    margin: 0 auto;
}

.reservation-hero__icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.reservation-hero__title {
    font-weight: 800;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.reservation-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.reservation-landing {
    margin-top: -4rem;
    padding-bottom: 5rem;
}

.reservation-landing__cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.reservation-landing__card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: block;
    border: 1px solid rgba(0,0,0,0.03);
}

.reservation-landing__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: rgba(0, 162, 156, 0.2);
}

.reservation-landing__card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.reservation-landing__card:hover .reservation-landing__card-icon {
    transform: scale(1.1);
}

.reservation-landing__card-icon--teal {
    background: rgba(0, 162, 156, 0.08);
    color: #00a29c;
}

.reservation-landing__card-icon--blue {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.reservation-landing__card-title {
    font-weight: 750;
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.reservation-landing__card-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* ========================
   RESERVATION QUERY PAGE
   ======================== */
.reservation-query-hero {
    background: linear-gradient(135deg, #00a29c 0%, #007a75 100%);
    background-image: url('/storage/web/assets/img/header/bg.png');
    padding: 3rem 1.5rem 2.5rem;
    margin-top: 120px;
    text-align: center;
    color: #fff;
}

.reservation-query-hero__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: #fff;
}

.reservation-query-hero__title {
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.reservation-query-hero__subtitle {
    opacity: 0.85;
    margin: 0;
    font-size: 0.95rem;
}

.reservation-query-body {
    background: #f8f9fa;
    padding: 2.5rem 1.5rem 4rem;
    min-height: 60vh;
}

.reservation-query-body__inner {
    max-width: 560px;
    margin: 0 auto;
}

.reservation-query-back {
    color: #00a29c;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.reservation-query-back:hover {
    color: #007a75;
}

.reservation-query-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 1.25rem;
    margin-top: 1rem;
}

.reservation-query-form-card label {
    font-weight: 700;
    font-size: 0.875rem;
    color: #495057;
    margin-bottom: 0.6rem;
    display: block;
}

.reservation-query-input-row {
    display: flex;
    gap: 0.6rem;
}

.reservation-query-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.reservation-query-input:focus {
    border-color: #00a29c;
}

.reservation-query-btn {
    padding: 0.75rem 1.25rem;
    background: #00a29c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reservation-query-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.reservation-query-error-msg {
    color: #e74c3c;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.reservation-query-alert {
    background: #fff5f5;
    border: 1.5px solid #ffc9c9;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #c92a2a;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.reservation-query-result {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin-top: 1.25rem;
}

.reservation-query-result__header {
    background: linear-gradient(135deg, #00a29c 0%, #007a75 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reservation-query-result__code-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.reservation-query-result__code {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.reservation-query-result__status {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.reservation-query-result__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #f1f3f5;
    gap: 1rem;
}

.reservation-query-result__row-label {
    color: #868e96;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.reservation-query-result__row-value {
    font-weight: 600;
    font-size: 0.875rem;
    color: #343a40;
    text-align: right;
}

.reservation-query-result__empty {
    padding: 1.5rem;
    text-align: center;
    color: #adb5bd;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .reservation-hero__title { font-size: 2.2rem; }
    .reservation-landing__card { padding: 2rem; }
}


/* ========================
   WIZARD BACK LINK
   ======================== */
.reservation-wizard-back {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color 0.2s;
}

.reservation-wizard-back:hover {
    color: #fff;
}
