/* RWS Session Booking Styles */

.rws-booking-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Progress Bar */
.rws-booking-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.rws-booking-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #9b4d96;
    color: white;
}

.progress-step .step-label {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #333;
    font-weight: 600;
}

/* Alerts */
.rws-alert {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    border-left: 4px solid #333;
}

.rws-alert.alert-error {
    background: #fee;
    color: #c33;
    border-left-color: #c33;
}

.rws-alert.alert-success {
    background: #efe;
    color: #3c3;
    border-left-color: #3c3;
}

/* Booking Steps */
.rws-booking-step {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rws-booking-step h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.rws-booking-step > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Disclosure Sections */
.disclosure-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.disclosure-section:last-child {
    border-bottom: none;
}

.disclosure-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.disclosure-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.disclosure-section ul {
    list-style-position: inside;
    color: #555;
    line-height: 1.8;
}

.disclosure-section ul li {
    margin-bottom: 8px;
}

/* Session Types List */
.session-types-list {
    list-style: none;
    padding: 0;
}

.session-types-list li {
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #9b4d96;
    margin-bottom: 15px;
    border-radius: 4px;
}

.session-types-list strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.session-types-list .price {
    display: inline-block;
    background: #9b4d96;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.session-types-list p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Boundaries */
.boundaries-content h4 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px 0;
}

.boundaries-content h4:first-child {
    margin-top: 0;
}

.boundaries-content ul {
    margin-bottom: 20px;
}

.boundaries-content strong {
    display: block;
    color: #c33;
    font-size: 16px;
    margin-top: 20px;
    padding: 15px;
    background: #fee;
    border-radius: 4px;
    border-left: 4px solid #c33;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9b4d96;
    box-shadow: 0 0 0 3px rgba(155, 77, 150, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Disclosure Checkbox */
.disclosure-checkbox {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin: 30px 0;
    border-left: 4px solid #9b4d96;
}

.disclosure-checkbox label {
    margin: 0;
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
}

.disclosure-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #9b4d96;
}

/* Booking Summary */
.booking-summary,
.deposit-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 30px;
    border-left: 4px solid #9b4d96;
}

.booking-summary h3,
.deposit-info h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .label {
    font-weight: 600;
    color: #555;
}

.summary-row .value {
    color: #333;
    text-align: right;
}

/* Deposit Amount */
.deposit-amount {
    background: white;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    border: 2px solid #9b4d96;
    font-weight: 600;
    font-size: 18px;
}

.deposit-amount .amount {
    color: #9b4d96;
    font-size: 24px;
}

.deposit-info ul {
    background: white;
    padding: 20px;
    border-radius: 4px;
}

.deposit-info p {
    color: #555;
}

.deposit-note {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Buttons */
.booking-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #9b4d96;
    color: white;
}

.btn-primary:hover {
    background: #7d3d78;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 77, 150, 0.3);
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

/* Responsive */
@media (max-width: 768px) {
    .rws-booking-container {
        margin: 20px auto;
    }

    .rws-booking-step {
        padding: 25px;
    }

    .rws-booking-step h2 {
        font-size: 22px;
    }

    .rws-booking-progress {
        margin-bottom: 30px;
    }

    .progress-step .step-label {
        font-size: 11px;
    }

    .booking-actions {
        flex-direction: column;
        justify-content: stretch;
    }

    .booking-actions .btn {
        width: 100%;
    }

    .disclosure-checkbox label {
        font-size: 13px;
    }

    .session-types-list li {
        padding: 15px;
    }

    .deposit-amount {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Admin Styles */
.rws-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.stat-box .stat-label {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-box .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #9b4d96;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending-screening {
    background: #fff3cd;
    color: #856404;
}

.status-pending-payment {
    background: #cce5ff;
    color: #004085;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}
