.booking-module * {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.booking-module {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.booking-module .booking-step {
    display: none;
}
.booking-module .booking-step.active {
    display: block;
}
.booking-module .booking-header {
    text-align: center;
    margin-bottom: 24px;
}
.booking-module .booking-header h2 {
    margin: 0 0 8px;
    color: #1a1a2e;
    font-size: 24px;
}
.booking-module .countdown-timer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.booking-module .countdown-timer .timer-display {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}
.booking-module .countdown-timer .timer-display.expired {
    color: #ff6b6b;
}
.booking-module .countdown-timer .pricing {
    text-align: right;
}
.booking-module .countdown-timer .pricing .original {
    text-decoration: line-through;
    color: #ff9f43;
    font-size: 14px;
}
.booking-module .countdown-timer .pricing .discounted {
    color: #2ed573;
    font-size: 20px;
    font-weight: 700;
}
.booking-module .form-group {
    margin-bottom: 16px;
}
.booking-module .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.booking-module .form-group select,
.booking-module .form-group input[type="text"],
.booking-module .form-group input[type="email"],
.booking-module .form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    background: #fff;
}
.booking-module .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    border: 1px solid #ccc;
    background: #f9f9f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.booking-module .form-group select:focus,
.booking-module .form-group input[type="text"]:focus,
.booking-module .form-group input[type="email"]:focus,
.booking-module .form-group input[type="tel"]:focus {
    outline: none;
    border-color: #1a1a2e;
}
.booking-module .btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.booking-module .btn-primary {
    background: #1a1a2e;
    color: #fff;
}
.booking-module .btn-primary:hover {
    background: #16213e;
    transform: translateY(-1px);
}
.booking-module .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}
.booking-module .btn-secondary {
    background: #f0f0f0;
    color: #333;
}
.booking-module .btn-secondary:hover {
    background: #e0e0e0;
}
.booking-module .btn-block {
    display: block;
    width: 100%;
}
.booking-module .text-center {
    text-align: center;
}
.booking-module .mt-16 {
    margin-top: 16px;
}
.booking-module .mb-16 {
    margin-bottom: 16px;
}

/* Calendar */
.booking-module .booking-calendar {
    margin: 20px 0;
}
.booking-module .calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.booking-module .calendar-nav h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1a2e;
}
.booking-module .calendar-nav button {
    background: none;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}
.booking-module .calendar-nav button:hover {
    border-color: #1a1a2e;
    background: #f8f8f8;
}
.booking-module .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.booking-module .calendar-grid .day-header {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #666;
    padding: 8px 4px;
    text-transform: uppercase;
}
.booking-module .calendar-grid .day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    min-height: 48px;
    border: 2px solid transparent;
    font-weight: 500;
}
.booking-module .calendar-grid .day-cell.empty {
    cursor: default;
    border: none;
}
.booking-module .calendar-grid .day-cell.past {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}
.booking-module .calendar-grid .day-cell.available {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}
.booking-module .calendar-grid .day-cell.available:hover {
    background: #2e7d32;
    color: #fff;
    transform: scale(1.05);
}
.booking-module .calendar-grid .day-cell.available.selected {
    background: #2e7d32;
    color: #fff;
    border-color: #1b5e20;
}
.booking-module .calendar-grid .day-cell.fully-booked {
    background: #fce4ec;
    color: #c62828;
    border-color: #f8bbd0;
    cursor: pointer;
}
.booking-module .calendar-grid .day-cell.fully-booked:hover {
    background: #f8bbd0;
    transform: scale(1.05);
}
.booking-module .calendar-grid .day-cell .slot-count {
    font-size: 10px;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.8;
}
.booking-module .calendar-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    flex-wrap: wrap;
}
.booking-module .calendar-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.booking-module .calendar-legend .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

/* Time slots */
.booking-module .time-slots {
    margin-top: 20px;
}
.booking-module .time-slots h4 {
    margin: 0 0 12px;
    color: #333;
}
.booking-module .time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}
.booking-module .time-slot-btn {
    padding: 10px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
}
.booking-module .time-slot-btn:hover {
    border-color: #1a1a2e;
    background: #f8f8f8;
}
.booking-module .time-slot-btn.selected {
    border-color: #1a1a2e;
    background: #1a1a2e;
    color: #fff;
}

/* Steps indicator */
.booking-module .steps-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.booking-module .steps-indicator .step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s;
}
.booking-module .steps-indicator .step-dot.active {
    background: #1a1a2e;
    transform: scale(1.3);
}
.booking-module .steps-indicator .step-dot.completed {
    background: #2ed573;
}

/* Booking form */
.booking-module .booking-form {
    max-width: 400px;
    margin: 0 auto;
}
.booking-module .booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.booking-module .booking-form .summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
.booking-module .booking-form .summary p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

/* Modal */
.booking-module .booking-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.booking-module .booking-modal-overlay.show {
    display: flex;
}
.booking-module .booking-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.booking-module .booking-modal h3 {
    margin: 0 0 12px;
    color: #1a1a2e;
}
.booking-module .booking-modal p {
    color: #555;
    margin: 0 0 20px;
    line-height: 1.5;
}
.booking-module .booking-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.booking-module .booking-modal .modal-close:hover {
    color: #333;
}
.booking-module .booking-modal .form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
}
.booking-module .booking-modal .form-group input:focus {
    border-color: #1a1a2e;
    outline: none;
}
.booking-module .alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.booking-module .alert-error {
    background: #ffe0e0;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
.booking-module .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.booking-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}

@media (max-width: 600px) {
    .booking-module {
        padding: 12px;
    }
    .booking-module .calendar-grid .day-cell {
        font-size: 13px;
        min-height: 38px;
    }
    .booking-module .countdown-timer {
        flex-direction: column;
        text-align: center;
    }
    .booking-module .countdown-timer .pricing {
        text-align: center;
    }
    .booking-module .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    .booking-module .booking-modal {
        padding: 20px;
        width: 95%;
    }
}

/* Payment redirect spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}
