/* ============================================
   SESSION BOOKING PAGES
   Combines: booking-modern.css & book-a-play-session.php
   ============================================ */

/* ------------------------------------------------------------------
   IMPORTED FROM booking-modern.css
   ------------------------------------------------------------------ */
/* Note: Root variables are now in ../variables.css */

/* Card UI */
.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.card-title {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--secondary-purple);
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.highlight-card {
    background: #e8f6f3;
    border: 1px solid var(--accent-green);
    text-align: center;
}

.highlight-card h3 {
    color: #27ae60;
    margin-top: 0;
    font-size: 1.1em;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.modern-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.modern-input:focus {
    border-color: var(--secondary-purple);
    outline: none;
}

.modern-input.valid {
    border-color: var(--accent-green);
}

.modern-input.invalid {
    border-color: #e74c3c;
}

/* Error red */

.validation-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 1.2em;
    display: none;
}

.valid+.validation-icon.check {
    display: block;
    color: var(--accent-green);
}

.invalid+.validation-icon.cross {
    display: block;
    color: #e74c3c;
}

/* Stepper */
.stepper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.stepper-label {
    font-weight: 700;
    color: #444;
    flex: 1;
}

.stepper-price {
    font-size: 0.9em;
    color: #888;
    font-weight: normal;
    display: block;
}

.stepper-controls {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 25px;
    padding: 2px;
}

.step-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary-red);
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-val {
    width: 40px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1em;
    background: transparent;
    border: none;
    color: #333;
}

/* Footer & Summary */
.sticky-footer-spacer {
    height: 80px;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ddd;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-sizing: border-box;
}

.footer-total strong {
    display: block;
    font-size: 1.4em;
    color: var(--primary-red);
}

.footer-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.1em;
    cursor: pointer;
}

.order-summary {
    background: #fbfbfb;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.summary-row.total {
    font-weight: 800;
    color: #333;
    border-top: 1px solid #ddd;
    padding-top: 5px;
    font-size: 1.1em;
}

.error-box {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
}

.honey-pot-field {
    display: none;
    visibility: hidden;
}

.upsell-btn {
    background: var(--accent-green);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
    margin-top: 10px;
}

.checkbox-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.terms-label {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #555;
}


/* ------------------------------------------------------------------
   IMPORTED FROM book-a-play-session.php (Calendar View)
   ------------------------------------------------------------------ */

/* Layout & Containers */
/* Layout & Containers */
.page-template-full-width #content_left {
    width: 100% !important;
    float: none !important;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Date Jump Styling */
.jump-bar {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #ddd;
}

.jump-bar select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
}

/* Session Day Container */
.day-container {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s;
    position: relative;
}

.day-container:hover {
    box-shadow: var(--shadow-hover);
}

/* Date Header */
.day-header {
    background: var(--secondary-purple);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.day-title {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
}

.day-badge {
    font-size: 0.8em;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-transform: uppercase;
}

.day-badge.peak {
    background: var(--accent-orange);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.day-badge.off-peak {
    background: var(--accent-green);
    color: #fff;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 20px;
}

/* Individual Slot Card */
.slot-card {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: #fff;
    position: relative;
}

.slot-card.full {
    background: #fafafa;
    opacity: 0.7;
    border-color: #eee;
}

/* Using a quiet blue variable that isn't global yet, defining locally or finding closest */
.slot-card.quietest-card {
    border-color: #3498db;
    background: #f4faff;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.time-label {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* Availability Indicators */
.availability-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 15px;
}

.avail-high {
    background: #e8f8f5;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.avail-med {
    background: #fef9e7;
    color: #f39c12;
    border: 1px solid #f39c12;
}

.avail-low {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.avail-none {
    background: #f2f2f2;
    color: #7f8c8d;
    border: 1px solid #bdc3c7;
}

/* Quietest Badge */
.quiet-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Action Buttons */
.btn-book {
    display: block;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #90160b;
    color: white;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: bold;
}

/* Non-Peak Message */
.non-peak-msg {
    padding: 20px;
    text-align: center;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

.non-peak-msg strong {
    color: var(--accent-green);
}