/* Booking page styles - dark theme matching AxeScorer */

/* Header */
.booking-header {
    padding: 0;
    text-align: center;
}

.booking-header h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.booking-header .venue-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Step indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.step-indicator .step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    padding: 0.5rem 0;
}

.step-indicator .step .step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-indicator .step .step-label {
    display: none;
}

@media (min-width: 576px) {
    .step-indicator .step .step-label {
        display: inline;
    }
}

.step-indicator .step-connector {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
    margin: 0 0.25rem;
    transition: background 0.3s ease;
}

@media (min-width: 576px) {
    .step-indicator .step-connector {
        width: 60px;
        margin: 0 0.5rem;
    }
}

.step-indicator .step.active .step-number {
    background: #3498db;
    color: #fff;
}

.step-indicator .step.active {
    color: #3498db;
}

.step-indicator .step.completed .step-number {
    background: #2ecc71;
    color: #fff;
}

.step-indicator .step.completed {
    color: #2ecc71;
}

.step-indicator .step-connector.completed {
    background: #2ecc71;
}

/* Main content card */
.booking-card {
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.booking-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.booking-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Calendar grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 0.75rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-grid .day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-grid .day-cell {
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: default;
    color: rgba(255, 255, 255, 0.25);
    background: transparent;
    border: none;
    transition: all 0.15s ease;
}

.calendar-grid .day-cell.available {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-grid .day-cell.available:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    color: #3498db;
}

.calendar-grid .day-cell.selected {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    font-weight: 700;
}

.calendar-grid .day-cell.today {
    border: 2px solid #3498db;
}

.calendar-grid .day-cell.unavailable {
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

.calendar-grid .day-cell.closed {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
    cursor: not-allowed;
}

.calendar-grid .day-cell.fully-booked {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    cursor: not-allowed;
}

.calendar-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-month-nav h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.calendar-month-nav button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.calendar-month-nav button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.calendar-month-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Time slot grid */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.time-slot {
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.15s ease;
}

.time-slot:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.time-slot.selected {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    font-weight: 700;
}

.time-slot.unavailable {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot .slot-capacity {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.time-slot.selected .slot-capacity {
    color: rgba(255, 255, 255, 0.8);
}

/* Participant form */
.participant-form {
    margin-top: 1rem;
}

/* Session cards */
.session-card {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.15s ease;
}

.session-card:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.session-card.selected {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.15);
    box-shadow: 0 0 0 1px #3498db;
}

.session-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.session-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3498db;
    margin-top: 2px;
}

.session-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.session-price {
    font-size: 1rem;
    font-weight: 700;
    color: #2ecc71;
}

.session-price-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.session-duration {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.session-spots {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.session-spots.low {
    color: #e74c3c;
    font-weight: 600;
}

.session-private-badge {
    font-size: 0.75rem;
    color: rgba(155, 89, 182, 0.9);
    background: rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    display: inline-block;
}

.participant-form .participant-entry {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.participant-form .participant-entry .participant-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Form inputs */
.booking-card .form-control,
.booking-card .form-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    color: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.booking-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.booking-card .form-control:focus,
.booking-card .form-select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.2);
}

.booking-card .form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.35rem;
}

.booking-card .form-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Booking summary */
.booking-summary {
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}

.booking-summary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

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

.booking-summary .summary-row .label {
    color: rgba(255, 255, 255, 0.5);
}

.booking-summary .summary-row .value {
    font-weight: 600;
    color: #fff;
}

.booking-summary .summary-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.booking-summary .summary-total {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.booking-summary .price-breakdown {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

/* Buttons */
.btn-booking-primary {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.btn-booking-primary:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-booking-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-booking-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-booking-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

/* Navigation buttons */
.booking-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    gap: 1rem;
}

.booking-nav .btn-booking-primary {
    width: auto;
    min-width: 160px;
}

/* Loading state */
.booking-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.booking-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

/* Error state */
.booking-error {
    text-align: center;
    padding: 3rem 1rem;
}

.booking-error .error-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.booking-error h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.booking-error p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

/* Confirmation page */
.booking-confirmation {
    text-align: center;
    padding: 2rem 1rem;
}

.booking-confirmation .success-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #2ecc71;
}

.booking-confirmation h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.booking-confirmation .confirmation-message {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Cancelled page */
.booking-cancelled {
    text-align: center;
    padding: 2rem 1rem;
}

.booking-cancelled .cancelled-icon {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #e74c3c;
}

.booking-cancelled h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.booking-cancelled p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Group size selector */
.group-size-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.group-size-selector button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.group-size-selector button:hover:not(:disabled) {
    border-color: #3498db;
    color: #3498db;
}

.group-size-selector button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.group-size-selector .size-display {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 3rem;
    text-align: center;
    color: #fff;
}

/* Responsive */
@media (max-width: 575.98px) {
    .booking-card {
        padding: 1rem;
        border-radius: 8px;
    }

    .booking-summary {
        padding: 1rem;
    }

    .time-slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .booking-nav {
        flex-direction: column-reverse;
    }

    .booking-nav .btn-booking-primary,
    .booking-nav .btn-booking-secondary {
        width: 100%;
        text-align: center;
    }
}
