﻿/**
 * Pixel Booking System - Styles
 * 
 * Wszystkie style dla strony rezerwacji
 */

body { 
    font-family: 'Sora', sans-serif; 
    background-color: #0d0d0f; 
    color: #e2e8f0; 
    -webkit-tap-highlight-color: transparent; 
    line-height: 1.5;
}

.px-ambient-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.px-blob { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(0,0,0,0) 70%); border-radius: 50%; filter: blur(80px); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Custom UI States */
.btn-choice {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
.btn-choice:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.btn-choice.active { 
    background: rgba(37, 99, 235, 0.15); 
    border-color: #3b82f6; 
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

.people-btn .people-package,
.slot-btn .slot-time,
.slot-btn .slot-price-default,
.slot-btn .slot-price-current,
.slot-btn .slot-price-old {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.people-btn.active .people-package,
.people-btn.active .people-count,
.slot-btn.active .slot-time,
.slot-btn.active .slot-price-default,
.slot-btn.active .slot-price-current {
    color: #fff !important;
}

.slot-btn.active .slot-price-old {
    color: rgba(255, 255, 255, 0.65) !important;
}

.people-price-discounted {
    color: #22c55e !important;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.35rem;
    padding: 1px 6px;
    border-radius: 9999px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #052e16;
    background: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.discount-badge-corner {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    pointer-events: none;
}

.people-btn,
.slot-btn {
    position: relative;
}

.filter-btn {
    transition: all 0.2s;
}
.filter-btn.active {
    background: #2563eb;
    color: white;
}

@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.animate-slide-up { animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes slideUpBanner {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.px-hidden { display: none !important; }

/* Banner promocyjny Ă˘â‚¬â€ś tydzieÄąâ€ž testÄ‚Ĺ‚w (jak w konto) */
.px-rezerwacja-promo-banner .px-promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(0, 255, 163, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.15);
}
.px-rezerwacja-promo-banner .px-promo-banner__text { display: block; text-align: center; }
.px-rezerwacja-promo-banner .px-promo-banner__title,
.px-rezerwacja-promo-banner .px-promo-banner__subtitle { display: block; }
.px-rezerwacja-promo-banner .px-promo-banner__title {
    font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: 0.02em;
}
.px-rezerwacja-promo-banner .px-promo-banner__subtitle {
    font-size: 0.95rem; font-weight: 600; color: #00ffa3; margin-top: 0.25rem;
}
@media (max-width: 480px) {
    .px-rezerwacja-promo-banner .px-promo-banner { padding: 0.875rem 1rem; gap: 0.75rem; }
    .px-rezerwacja-promo-banner .px-promo-banner__title { font-size: 0.98rem; }
    .px-rezerwacja-promo-banner .px-promo-banner__subtitle { font-size: 0.9rem; }
}

/* Override section padding from pixel-components.css */
main section {
    padding: 20px 0 !important;
}

/* Add padding-top to main to account for fixed header */
main {
    padding-top: 80px !important;
}

@media (min-width: 640px) {
    main {
        padding-top: 90px !important;
    }
}

/* Container dla globalnego bannera - przed main */
body > #px-notification-banner {
    padding-top: 80px;
}

@media (min-width: 640px) {
    body > #px-notification-banner {
        padding-top: 90px;
    }
}

/* Error messages styling */
.error-message {
    display: block;
    color: #ef4444;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0;
    border: none;
}

.error-message.hidden {
    display: none;
}

/* Notification Banner Styles - Push-down (nie fixed) */
#px-notification-banner {
    animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#px-notification-banner.px-hidden {
    display: none !important;
}

@keyframes slideDownFade {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Inline Error Banner w sekcji terminu */
#time-error-banner {
    animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#time-error-banner.px-hidden {
    display: none !important;
}

#px-notification-content.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(12px);
}

#px-notification-content.success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    backdrop-filter: blur(12px);
}

#px-notification-content.info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(12px);
}

#px-notification-icon.error svg {
    color: #ef4444;
}

#px-notification-icon.success svg {
    color: #22c55e;
}

#px-notification-icon.info svg {
    color: #3b82f6;
}

/* Error border for inputs and containers */
.error-border {
    border-color: #ef4444 !important;
    border-width: 2px !important;
}

/* Error state for sections */
section.has-error {
    animation: shake 0.3s ease-in-out;
    background: transparent !important;
    background-color: transparent !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Attention state for sections needing action */
section.needs-attention {
    position: relative;
}

section.needs-attention::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 2px;
    animation: pulse-attention 2s ease-in-out infinite;
}

@keyframes pulse-attention {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Error state for people section */
section#people-selection.has-error {
    animation: shake 0.3s ease-in-out;
}

/* Material Design Form Inputs */
.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.form-input:hover:not(:focus):not(:disabled) {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-input.promo-code-readonly,
.form-input[readonly] {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
    color: #bfdbfe;
    cursor: not-allowed;
}

.form-input.error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.16) !important;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-label.required::after {
    content: ' *';
    color: #3b82f6;
}

/* Custom Checkboxes */
.custom-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.custom-checkbox-wrapper:hover {
    opacity: 0.9;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2px;
    flex-shrink: 0;
}

.custom-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    display: block;
}

.custom-checkbox:has(input[type="checkbox"]:checked) {
    background: #3b82f6;
    border-color: #3b82f6;
}

.custom-checkbox:has(input[type="checkbox"]:checked) .checkmark {
    display: block;
}

.checkmark {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
}

.custom-checkbox-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    flex: 1;
    user-select: none;
}

.custom-checkbox.error {
    border-color: #ef4444;
}

/* Form Container Enhancement */
.form-container-enhanced {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-method-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
}

.payment-method-breakdown {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.payment-method-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.4;
}

.payment-method-breakdown__row strong {
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
}

.payment-method-card__balances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.payment-method-card__balance {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-method-card__balance-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.payment-method-options {
    display: grid;
    gap: 10px;
}

.payment-method-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.payment-method-option input {
    margin-top: 2px;
}

.payment-method-option strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
}

.payment-method-option small {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.45;
}

.payment-method-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .payment-method-card__balances {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Booking calendar */
.mini-calendar {
    padding: 0;
    background: transparent;
    border: 0;
}

.calendar-shell {
    width: 100%;
}

.calendar-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(71, 85, 105, 0.72);
    border-radius: 24px;
    padding: 18px 14px 14px;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.35);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.calendar-nav-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.85);
    background: rgba(15, 23, 42, 0.58);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(51, 65, 85, 0.92);
    border-color: rgba(100, 116, 139, 0.95);
    color: #f8fafc;
    transform: translateY(-1px);
}

.calendar-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
    color: #64748b;
    background: rgba(15, 23, 42, 0.32);
}

.calendar-nav-btn:active {
    transform: translateY(0);
}

.month-year {
    flex: 1;
    text-align: center;
    font-size: var(--px-fs-h3, 1.25rem);
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.01em;
    text-transform: capitalize;
}

.calendar-table {
    display: grid;
    gap: 10px;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: var(--px-fs-micro, 0.72rem);
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 2px;
}

.date-cell {
    min-height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(71, 85, 105, 0.78);
    background: rgba(51, 65, 85, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    position: relative;
    padding: 6px 4px;
    overflow: hidden;
}

.date-cell:hover:not(.unavailable):not(.selected):not(.other-month) {
    background: rgba(71, 85, 105, 0.98);
    border-color: rgba(100, 116, 139, 0.95);
    transform: translateY(-2px);
}

.date-cell.selected {
    background: #0ea5e9;
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.35);
}

.date-cell.today:not(.selected) {
    border-color: rgba(125, 211, 252, 0.42);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.date-cell.today:not(.selected)::before {
    content: 'Dzis';
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 8px;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1;
}

.date-cell.weekend:not(.unavailable):not(.selected) .date-number {
    color: #7dd3fc;
    font-weight: 700;
}

.date-cell.unavailable {
    background: transparent;
    border-color: transparent;
    color: #475569;
    opacity: 0.9;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.date-cell.unavailable::after {
    display: none;
}

.date-cell.other-month {
    background: transparent;
    border-color: transparent;
    opacity: 0;
    pointer-events: none;
}

.date-number {
    font-size: var(--px-fs-body, 1rem);
    font-weight: 600;
    color: #f8fafc;
    line-height: 1;
}

.date-cell.unavailable .date-number {
    color: #475569;
}

.date-cell.today .date-number,
.date-cell.selected .date-number {
    font-weight: 700;
}

.availability-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    margin-top: 1px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
}

.availability-dot.available {
    background: #10b981;
}

.availability-dot.limited {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

.availability-dot.unavailable {
    background: #6b7280;
    box-shadow: none;
}

.calendar-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(71, 85, 105, 0.42);
}

.quick-action-btn {
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.85);
    background: rgba(15, 23, 42, 0.28);
    color: #cbd5e1;
    font-size: var(--px-fs-caption, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-action-btn:hover {
    background: rgba(51, 65, 85, 0.82);
    border-color: rgba(100, 116, 139, 0.95);
    color: #f8fafc;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .calendar-card {
        border-radius: 20px;
        padding: 16px 12px 12px;
    }

    .calendar-header {
        margin-bottom: 16px;
    }

    .calendar-nav-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .month-year {
        font-size: var(--px-fs-body, 0.9rem);
    }

    .calendar-weekdays,
    .calendar-grid {
        gap: 6px;
    }

    .date-cell {
        min-height: 48px;
        border-radius: 12px;
    }

    .date-number {
        font-size: var(--px-fs-body-sm, 0.82rem);
    }

    .quick-action-btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* Minimal dark cleanup */
.booking-step {
    padding: 18px 16px !important;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.booking-step__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.booking-step__title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: var(--px-fs-h3, 1.25rem);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.booking-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(0, 255, 163, 0.08);
    border: 1px solid rgba(0, 255, 163, 0.22);
    color: var(--px-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: inset 0 0 18px rgba(0, 255, 163, 0.06);
}

.booking-step__tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 163, 0.18);
    background: rgba(0, 255, 163, 0.06);
    color: var(--px-accent);
    font-size: var(--px-fs-micro, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0 4px;
}

.booking-inline-row__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.booking-icon-chip {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--px-accent);
    flex-shrink: 0;
}

.booking-icon-chip--socks {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.booking-icon-chip__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.booking-icon-chip__img--socks {
    width: 76%;
    height: 76%;
    filter: brightness(0) invert(1);
}

.booking-inline-row__title {
    color: #fff;
    font-size: var(--px-fs-body, 1rem);
    font-weight: 700;
}

.booking-inline-row__text {
    color: rgba(255, 255, 255, 0.52);
    font-size: var(--px-fs-caption, 0.8rem);
    margin-top: 2px;
}

.booking-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px;
    flex-shrink: 0;
}

.booking-counter__btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-counter__btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.booking-counter__value {
    min-width: 34px;
    text-align: center;
    color: #fff;
    font-size: var(--px-fs-body, 1rem);
    font-weight: 700;
}

.booking-secondary-btn {
    min-width: 110px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: var(--px-fs-caption, 0.8rem);
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.booking-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-choice {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.btn-choice:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-choice.active {
    background: rgba(0, 255, 163, 0.1);
    border-color: rgba(0, 255, 163, 0.34);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 255, 163, 0.06), 0 12px 28px rgba(0, 255, 163, 0.08);
}

.people-package {
    color: rgba(255, 255, 255, 0.52);
    font-size: var(--px-fs-micro, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.people-count {
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1;
    font-weight: 800;
    margin-top: 8px;
}

.form-input {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.form-input:hover:not(:focus):not(:disabled) {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.form-input:focus {
    border-color: rgba(0, 255, 163, 0.35);
    background: rgba(0, 255, 163, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 255, 163, 0.08);
}

.form-label.required::after {
    color: var(--px-accent);
}

.form-container-enhanced,
.payment-method-card,
.payment-method-breakdown__row,
.payment-method-card__balance,
.payment-method-option {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.form-container-enhanced {
    padding: 0;
    border: 0;
}

.payment-method-message {
    background: rgba(0, 255, 163, 0.08);
    border-color: rgba(0, 255, 163, 0.18);
    color: #d1fae5;
}

.custom-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(0, 255, 163, 0.14);
    border-color: rgba(0, 255, 163, 0.4);
}

section.needs-attention::before {
    display: none;
}

section.booking-step.has-error {
    background: rgba(255, 255, 255, 0.025) !important;
    border-color: rgba(239, 68, 68, 0.22) !important;
}

section.booking-step.needs-attention::before {
    display: none;
}

.booking-step.needs-attention {
    border-color: rgba(0, 255, 163, 0.28);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 163, 0.06);
}

.calendar-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.calendar-header {
    margin-bottom: 14px;
}

.calendar-nav-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.65);
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.month-year {
    font-size: var(--px-fs-h3, 1.25rem);
}

.calendar-weekday {
    color: rgba(255, 255, 255, 0.38);
}

.date-cell {
    min-height: 54px;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.date-cell:hover:not(.unavailable):not(.selected):not(.other-month) {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.16);
}

.date-cell.selected {
    background: rgba(0, 255, 163, 0.1);
    border-color: rgba(0, 255, 163, 0.34);
    box-shadow: 0 0 0 1px rgba(0, 255, 163, 0.05), 0 12px 28px rgba(0, 255, 163, 0.08);
}

.date-cell.today:not(.selected) {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.date-cell.today:not(.selected)::before {
    color: var(--px-accent);
    opacity: 0.8;
}

.date-cell.weekend:not(.unavailable):not(.selected) .date-number {
    color: #fff;
}

.availability-dot.available {
    background: var(--px-accent);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.45);
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.slot-btn {
    min-height: 86px;
}

.slot-btn .slot-time {
    color: #fff;
}

.slot-btn .slot-price-default {
    color: rgba(255, 255, 255, 0.82);
}

.slot-btn .slot-price-current {
    color: var(--px-accent);
}

.slot-btn .slot-price-old {
    color: rgba(255, 255, 255, 0.36);
}

.discount-badge {
    color: #111827;
    background: #fbbf24;
    border-color: rgba(251, 191, 36, 0.42);
}

.booking-summary-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 8, 12, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.24);
}

.booking-summary-bar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 163, 0.36), transparent);
}

.booking-summary-bar__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.booking-summary-bar__price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.booking-summary-bar__old-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.34);
    text-decoration: line-through;
}

.booking-summary-bar__context {
    font-size: var(--px-fs-body-sm, 0.9rem);
    font-weight: 700;
    color: #fff;
}

.booking-summary-bar__details,
.booking-summary-bar__payment,
.booking-summary-bar__hint {
    font-size: var(--px-fs-caption, 0.8rem);
    color: rgba(255, 255, 255, 0.66);
}

.booking-summary-bar__payment {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.booking-summary-bar__btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: var(--px-accent);
    color: #04130d;
    font-size: var(--px-fs-caption, 0.8rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0, 255, 163, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.booking-summary-bar__btn-line {
    display: block;
    line-height: 1.05;
}

.booking-summary-bar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 255, 163, 0.2);
}

.booking-summary-bar__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.booking-inline-row__notice {
    margin-top: 12px;
    padding-left: 52px;
    color: var(--px-accent);
    font-size: var(--px-fs-body-sm, 0.9rem);
    font-weight: 700;
}

.booking-inline-row__notice--right {
    width: 100%;
    padding-left: 0;
    text-align: right;
}

.booking-step--link {
    cursor: pointer;
}

.booking-step--link:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.booking-step--link:focus-visible {
    outline: 2px solid rgba(0, 255, 163, 0.42);
    outline-offset: 3px;
}

.px-booking-page {
    --booking-summary-offset: 116px;
}

.booking-page-main {
    padding-bottom: calc(var(--booking-summary-offset) + 24px) !important;
}

.booking-page-footer {
    padding-bottom: calc(var(--booking-summary-offset) + 16px);
}

body.booking-payment-status-open {
    overflow: hidden;
}

.booking-payment-status-overlay {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(2, 6, 12, 0.8);
    backdrop-filter: blur(12px);
}

.booking-payment-status-card {
    position: relative;
    width: min(100%, 680px);
    padding: 28px 24px 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.07), transparent 46%),
        linear-gradient(180deg, rgba(11, 15, 22, 0.98), rgba(6, 10, 16, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
    text-align: center;
    overflow: hidden;
}

.booking-payment-status-card--success {
    border-color: rgba(0, 255, 163, 0.24);
}

.booking-payment-status-card--danger {
    border-color: rgba(248, 113, 113, 0.32);
}

.booking-payment-status-card--muted {
    border-color: rgba(148, 163, 184, 0.24);
}

.booking-payment-status-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.booking-payment-status-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.booking-payment-status-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
}

.booking-payment-status-icon svg {
    width: 100%;
    height: 100%;
}

.booking-payment-status-icon circle {
    fill: rgba(255, 255, 255, 0.04);
    stroke: currentColor;
    stroke-width: 4;
}

.booking-payment-status-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-payment-status-card--success .booking-payment-status-icon {
    color: var(--px-accent);
}

.booking-payment-status-card--danger .booking-payment-status-icon {
    color: #f87171;
}

.booking-payment-status-card--muted .booking-payment-status-icon {
    color: #cbd5e1;
}

.booking-payment-status-eyebrow {
    margin-bottom: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.booking-payment-status-title {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    line-height: 1.05;
    color: #fff;
}

.booking-payment-status-description {
    max-width: 520px;
    margin: 12px auto 0;
    font-size: var(--px-fs-body, 1rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.74);
}

.booking-payment-status-action {
    min-width: 220px;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: var(--px-fs-caption, 0.8rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.booking-payment-status-action:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.booking-payment-status-card--success .booking-payment-status-action {
    background: var(--px-accent);
    color: #04130d;
}

.booking-payment-status-card--danger .booking-payment-status-action {
    background: #f87171;
    color: #21090b;
}

.booking-payment-status-card--muted .booking-payment-status-action {
    background: #cbd5e1;
    color: #111827;
}

.booking-payment-status-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

.booking-payment-status-confetti.is-active {
    opacity: 1;
}

.booking-payment-status-confetti-piece {
    position: absolute;
    top: -22px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #fbbf24;
    animation: booking-confetti-fall linear infinite;
}

.booking-payment-status-confetti-piece:nth-child(3n) {
    background: #22c55e;
}

.booking-payment-status-confetti-piece:nth-child(3n + 1) {
    background: #38bdf8;
}

.booking-payment-status-confetti-piece:nth-child(4n) {
    background: #fb7185;
}

.booking-payment-status-confetti-piece:nth-child(5n) {
    background: #facc15;
}

@keyframes booking-confetti-fall {
    0% {
        transform: translate3d(0, -10px, 0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 460px, 0) rotate(270deg) scale(0.92);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .booking-page-main {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 14px;
    }

    .booking-page-footer {
        padding-top: 4px;
        padding-bottom: calc(var(--booking-summary-offset) + 8px);
    }

    .booking-step {
        padding: 16px 14px !important;
        border-radius: 20px;
    }

    .booking-step__title {
        font-size: var(--px-fs-body, 0.9rem);
    }

    .booking-step__index {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .booking-step__tag {
        min-height: 24px;
        padding: 0 8px;
    }

    .booking-inline-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-counter {
        align-self: stretch;
        justify-content: space-between;
    }

    .booking-counter__value {
        flex: 1;
    }

    .booking-summary-bar {
        padding: 10px 10px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .booking-summary-bar__inner {
        align-items: flex-end;
    }

    #people-container,
    #slots-grid {
        gap: 10px;
    }

    .booking-summary-bar__btn {
        min-height: 44px;
        padding: 0 18px;
    }

    .booking-inline-row__notice {
        margin-top: 10px;
        padding-left: 0;
    }

    .booking-payment-status-card {
        padding: 24px 18px 20px;
        border-radius: 24px;
        width: min(100%, 420px);
    }

    .booking-payment-status-icon {
        width: 76px;
        height: 76px;
        margin-bottom: 12px;
    }

    .booking-payment-status-action {
        width: 100%;
        min-width: 0;
        margin-top: 20px;
    }
}

@media (max-width: 420px) {
    .booking-payment-status-overlay {
        padding: 14px 10px;
    }

    .booking-payment-status-card {
        width: 100%;
        padding: 22px 16px 18px;
        border-radius: 22px;
    }

    .booking-payment-status-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .booking-payment-status-icon {
        width: 68px;
        height: 68px;
    }

    .booking-payment-status-eyebrow {
        font-size: 0.67rem;
        letter-spacing: 0.12em;
    }

    .booking-payment-status-title {
        font-size: clamp(1.35rem, 8vw, 1.85rem);
    }

    .booking-payment-status-description {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.48;
    }
}

@media (max-width: 329px) {
    .booking-summary-bar__inner {
        gap: 8px;
    }

    .booking-summary-bar__btn {
        min-width: 104px;
        max-width: 112px;
        padding: 0 14px;
        text-align: center;
        white-space: normal;
        line-height: 1.05;
    }
}
