/* /var/www/snokuink/booking-app/assets/css/booking.css */

.snoku-booking-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: #05060a;
    color: #f5f5f7;
}

.snoku-booking-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.snoku-booking-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
}

.snoku-booking-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.snoku-booking-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #ffb347, #ff5f6d 40%, #3b1d60 100%);
    box-shadow: 0 0 18px rgba(255,95,109,0.6);
}

.brand-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Stepper */
.snoku-booking-stepper {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow-x: auto;
}

.stepper-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
}

.stepper-item.is-current {
    opacity: 1;
}

.stepper-item.is-complete {
    opacity: 0.8;
}

.stepper-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
}

.stepper-item.is-current .stepper-dot {
    background: #ffb347;
    box-shadow: 0 0 10px rgba(255,179,71,0.8);
}

.stepper-item.is-complete .stepper-dot {
    background: #4ade80;
}

/* Main */
.snoku-booking-main {
    flex: 1;
    padding: 1.5rem 1.25rem 1.75rem;
}

/* Start screen */
.booking-screen--start {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.booking-title {
    font-size: 1.6rem;
    line-height: 1.2;
}

.booking-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.booking-card {
    background: radial-gradient(circle at top left, #151827, #05060a 60%);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.02);
}

.booking-primary-button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #05060a;
    background: linear-gradient(135deg, #ffb347, #ff5f6d);
    box-shadow: 0 12px 30px rgba(255,95,109,0.6);
    cursor: pointer;
}

.snoku-booking-footer {
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Package categories */
.package-category-title {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

.package-category-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Package card */
.package-card {
    background: radial-gradient(circle at top left, #1a1d2e, #05060a 60%);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.02);
}

.package-name {
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
}

.package-price {
    margin-bottom: 0.75rem;
}

.price-main {
    font-size: 1rem;
    font-weight: 600;
}

.price-details {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 0.15rem;
}

.package-description {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

/* Date selection */
.booking-card--date-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.date-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.date-pill input[type="radio"] {
    accent-color: #ffb347;
    width: 18px;
    height: 18px;
}

.date-pill-label {
    font-size: 0.9rem;
}

.date-pill--disabled {
    opacity: 0.35;
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
}

.date-pill-reason {
    font-size: 0.75rem;
    opacity: 0.8;
}

.booking-date-continue {
    margin-top: 0.5rem;
}

/* Time selection */
.booking-card--time-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.time-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.time-pill input[type="radio"] {
    accent-color: #ffb347;
    width: 18px;
    height: 18px;
}

.time-pill-label {
    font-size: 0.9rem;
}

.no-times {
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
    padding: 1rem 0;
}

.booking-time-continue {
    margin-top: 0.5rem;
}

/* Review summary */
.booking-card--summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-label {
    opacity: 0.7;
}

.summary-description {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Client info form */
.booking-card--client-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffb347;
    box-shadow: 0 0 0 2px rgba(255,179,71,0.25);
}

.booking-review-submit {
    margin-top: 0.5rem;
}

.confirmation-message {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.confirmation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Confirmation */
.booking-screen--confirmation {
    text-align: center;
}

.confirmation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-card--confirmation {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confirmation-details {
    font-size: 0.9rem;
    opacity: 0.85;
}

.confirmation-token {
    font-size: 0.8rem;
    opacity: 0.7;
}

.token-value {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 1;
}

.confirmation-home-btn {
    margin-top: 0.5rem;
}

/* Success page */
.booking-screen--success {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-card--success {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-message {
    font-size: 0.95rem;
    opacity: 0.9;
}

.success-details {
    font-size: 0.9rem;
    opacity: 0.85;
}

.success-home-btn {
    margin-top: 0.5rem;
}

/* Calendar Navigation */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.25rem;
}

.calendar-nav-btn {
    font-size: 1.4rem;
    color: #ffb347;
    text-decoration: none;
}

.calendar-month-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.calendar-header {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
}

.calendar-cell {
    height: 48px;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.calendar-cell.empty {
    opacity: 0;
}

.calendar-cell.available {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
}

.calendar-cell.available input[type="radio"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.calendar-cell.available:hover {
    background: rgba(255,255,255,0.12);
}

.calendar-cell.unavailable {
    background: rgba(255,255,255,0.03);
    opacity: 0.35;
}

.calendar-continue-btn {
    margin-top: 0.5rem;
}

/* Rolling time picker */
.time-wheel-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.time-wheel {
    width: 33%;
    height: 144px; /* 3 items visible */
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.time-wheel::-webkit-scrollbar {
    display: none;
}

.time-wheel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.time-wheel li {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0.7;
}

.time-wheel-highlight {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(255,255,255,0.08);
    border-radius: 0.6rem;
    pointer-events: none;
}

/* Selected item inside the wheel */
.time-wheel li.selected {
    font-weight: 700;
    color: #ffb347;
    opacity: 1;
    transform: scale(1.12);
    transition: all 0.15s ease;
}

.time-wheel li.spacer {
    height: 48px;
    opacity: 0;
}

.time-wheel li.selected {
    font-weight: 700;
    color: #ffb347;
    opacity: 1;
    transform: scale(1.12);
    transition: all 0.15s ease;
}

.package-card-horizontal {
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transition: transform .25s ease, box-shadow .25s ease;
}

.package-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.package-card-image {
    flex: 0 0 180px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
}

.package-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.package-price {
    margin-bottom: 10px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-details {
    display: block;
    font-size: .9rem;
    opacity: .7;
}

.package-description {
    font-size: .95rem;
    opacity: .85;
    margin-bottom: 14px;
}

.package-select-btn {
    margin-top: auto;
}

/* Mobile */
@media (max-width: 640px) {
    .package-card-horizontal {
        flex-direction: column;
    }
    .package-card-image {
        width: 100%;
        height: 200px;
    }
}

/* Desktop grid: 3–4 cards per row */
.package-category-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Make cards stretch full width inside grid */
.package-card {
    width: 100%;
}

/* Optional: tighten spacing on very large screens */
@media (min-width: 1400px) {
    .package-category-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
    .package-category-group {
        grid-template-columns: 1fr;
    }
}

/* MOBILE — 1 column */
.package-category-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* TABLET — 2 columns */
@media (min-width: 640px) {
    .package-category-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP — 3 columns */
@media (min-width: 1024px) {
    .package-category-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* LARGE DESKTOP — 4 columns */
@media (min-width: 1440px) {
    .package-category-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FORCE ALL CARDS TO BE EQUAL HEIGHT */
.package-card-horizontal,
.package-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ------------------------------------------------------------
   PAGE LAYOUT SPACING (MATCHES MOCKUP)
------------------------------------------------------------ */
.booking-screen--packages {
    padding-top: 120px; /* space under header */
    text-align: center;
}

.booking-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 6px;
    text-shadow: 0 0 18px rgba(255,215,0,0.35);
}

.booking-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
}

/* ------------------------------------------------------------
   CATEGORY TITLE
------------------------------------------------------------ */
.package-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffd700;
    margin: 40px 0 20px;
    text-shadow: 0 0 12px rgba(255,215,0,0.3);
}

/* ------------------------------------------------------------
   GRID (MATCHES MOCKUP WIDTH)
------------------------------------------------------------ */
.package-category-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* ------------------------------------------------------------
   OPTION B — TOP IMAGE CARD (EXACT LOOK)
------------------------------------------------------------ */
.package-card-vertical {
    width: 340px; /* EXACT width from mockup */
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,215,0,0.18);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.45);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.package-card-vertical:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 55px rgba(255,215,0,0.25);
    border-color: rgba(255,215,0,0.35);
}

/* ------------------------------------------------------------
   IMAGE (TOP OF CARD)
------------------------------------------------------------ */
.package-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.92);
    border-bottom: 1px solid rgba(255,215,0,0.12);
}

/* ------------------------------------------------------------
   TEXT AREA
------------------------------------------------------------ */
.package-card-info {
    padding: 22px;
    text-align: left;
}

.package-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.package-price {
    margin-bottom: 14px;
}

.price-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.price-details {
    display: block;
    font-size: .95rem;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}

/* ------------------------------------------------------------
   DESCRIPTION
------------------------------------------------------------ */
.package-description {
    font-size: .95rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.45;
}

/* ------------------------------------------------------------
   BUTTON (MATCHES MOCKUP EXACTLY)
------------------------------------------------------------ */
.package-select-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ffd700;
    background: rgba(0,0,0,0.4);
    color: #ffd700;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.package-select-btn:hover {
    background: #ffd700;
    color: #000;
    box-shadow: 0 0 18px rgba(255,215,0,0.55);
}
