:root {
    --wb-teal: #0f766e;
    --wb-teal-light: #14b8a6;
    --wb-teal-bg: #f0fdfa;
}

/* ---------- Page header ---------- */
.container h2.mb-4 {
    font-weight: 700;
    color: #1f2937;
}

/* ---------- Booking form card ---------- */
form.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

form.card .card-body {
    padding: 28px;
}

form.card h5 {
    font-weight: 700;
    color: var(--wb-teal);
    display: flex;
    align-items: center;
    gap: 8px;
}

form.card h5::before {
    content: "";
    width: 4px;
    height: 16px;
    background: var(--wb-teal-light);
    border-radius: 2px;
    display: inline-block;
}

form.card hr {
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

/* ---------- Form controls ---------- */
.form-label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wb-teal-light);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* ---------- Time slot picker ---------- */
#walkin_slots {
    padding: 4px 0;
}

#walkin_slots .btn {
    border-radius: 8px;
    border: 1.5px solid #d1d5db;
    color: #374151;
    background: #fff;
    font-weight: 600;
    padding: 8px 14px;
    transition: all 0.15s ease;
}

#walkin_slots .btn:hover {
    border-color: var(--wb-teal-light);
    color: var(--wb-teal);
}

#walkin_slots .btn.active {
    background: var(--wb-teal);
    border-color: var(--wb-teal);
    color: #fff;
}

/* ---------- Payment method — styled like selectable cards ---------- */
.form-check {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px 12px 40px;
    margin-bottom: 10px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.form-check:hover {
    border-color: var(--wb-teal-light);
    background: var(--wb-teal-bg);
}

.form-check-input:checked ~ .form-check-label {
    color: var(--wb-teal);
}

.form-check:has(.form-check-input:checked) {
    border-color: var(--wb-teal);
    background: var(--wb-teal-bg);
}

.form-check-input:checked {
    background-color: var(--wb-teal);
    border-color: var(--wb-teal);
}

/* ---------- Submit button ---------- */
.btn-success.btn-lg {
    background: var(--wb-teal);
    border-color: var(--wb-teal);
    border-radius: 10px;
    font-weight: 700;
    padding: 14px;
    letter-spacing: 0.3px;
}

.btn-success.btn-lg:hover {
    background: #0d6259;
    border-color: #0d6259;
}

/* ---------- Success box (kept semantic green — success states stay
   green regardless of brand color, matching standard UX convention) ---------- */
.success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-number {
    font-size: 28px;
    font-weight: 800;
    color: #28a745;
}

/* ---------- Barcode preview ---------- */
.success-box img[alt="Barcode sticker"] {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 12px;
    background: #fff;
}

.success-box .btn-secondary {
    background: var(--wb-teal);
    border-color: var(--wb-teal);
}

.success-box .btn-secondary:hover {
    background: #0d6259;
    border-color: #0d6259;
}

.success-box .btn-outline-secondary {
    color: var(--wb-teal);
    border-color: var(--wb-teal-light);
}

.success-box .btn-outline-secondary:hover {
    background: var(--wb-teal-bg);
    color: var(--wb-teal);
    border-color: var(--wb-teal);
}


#print_sticker {
    display: none;
}
/* ============================================================
   CASHIER — WALK-IN BOOKING
   Styles for: GCash payment modal, QR fullscreen viewer,
   and the booking review modal.
   ============================================================ */

:root {
    --wb-teal: #0da7ac;
    --wb-teal-deep: #0a8fa4;
    --wb-teal-darker: #074447;
    --wb-foam: #eafcfb;
    --wb-ink: #1f2d3d;
    --wb-line: #e9ecef;
    --wb-muted: #6c757d;
}

/* ---------- GCash QR image (inside gcashModal) ---------- */

.gcash-qr-image {
    cursor: zoom-in;
    transition: transform .15s ease, box-shadow .15s ease;
}

.gcash-qr-image:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(10, 110, 116, .18);
}

.qr-hint {
    font-size: 12.5px;
    color: var(--wb-muted);
    margin-top: 8px;
}

.qr-error {
    color: #9c2b2b;
    font-size: 14px;
}

/* ---------- QR Fullscreen overlay ---------- */

.qr-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 68, 71, .92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: wbFadeIn .15s ease;
}

.qr-fullscreen.active {
    display: flex;
}

.qr-fullscreen img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

.qr-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, .08);
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}

.qr-close:hover {
    background: rgba(255, 255, 255, .18);
}

@keyframes wbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- GCash modal header ---------- */

#gcashModal .modal-header {
    background: linear-gradient(135deg, var(--wb-teal), var(--wb-teal-deep));
    color: #fff;
    border-bottom: none;
}

#gcashModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#gcashModal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 110, 116, .18);
}

#gcashModal .modal-body strong {
    color: var(--wb-muted);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .03em;
    display: block;
    margin-bottom: 2px;
}

#gcashModal .modal-body > .mt-2 > div {
    padding: 6px 0;
    font-size: 14.5px;
    border-bottom: 1px dashed var(--wb-line);
}

#gcashModal .modal-body > .mt-2 > div:last-child {
    border-bottom: none;
}

/* ---------- Review modal ---------- */

#reviewModal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 110, 116, .18);
}

#reviewModal .modal-header {
    background: var(--wb-foam);
    border-bottom: 1px solid #d8efee;
}

#reviewModal .modal-title {
    color: var(--wb-teal-darker);
    font-weight: 700;
    font-size: 17px;
}

#reviewModal h6 {
    color: var(--wb-teal-deep);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--wb-line);
    padding-bottom: 6px;
}

#reviewModal .modal-body strong {
    display: block;
    font-size: 11.5px;
    color: var(--wb-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

#reviewModal .modal-body .row > div > div:not(strong) {
    font-size: 14.5px;
    color: var(--wb-ink);
    font-weight: 600;
}

#reviewModal .alert-success {
    background: var(--wb-foam);
    border: 1px solid #c9ecea;
    border-radius: 10px;
}

#reviewModal #review_total {
    color: var(--wb-teal-darker);
}

#reviewModal .modal-footer {
    border-top: 1px solid var(--wb-line);
}

#reviewModal .btn-success {
    background: linear-gradient(135deg, var(--wb-teal), var(--wb-teal-deep));
    border: none;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease;
}

#reviewModal .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(10, 143, 164, .28);
}

#reviewModal .btn-outline-secondary {
    font-weight: 600;
}

.qr-error{
    color: #e70909;
}

/* ---------- Responsive ---------- */

@media (max-width: 575px) {
    .qr-close {
        top: 12px;
        right: 16px;
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    #print_sticker, #print_sticker * {
        visibility: visible;
    }
    #print_sticker {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 6mm;
        box-sizing: border-box;
    }
    .sticker-copy {
        width: 100%;
        text-align: center;
        border-bottom: 1px dashed #999;
        padding: 6mm 0;
    }
    .sticker-copy:last-child {
        border-bottom: none;
    }
    .sticker-label {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }
    .sticker-copy img {
        max-width: 80%;
    }
    @page {
        margin: 6mm;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    form.card .card-body {
        padding: 18px;
    }
    .order-number {
        font-size: 22px;
    }
}