/* ============================================
   THG Events - Modern Checkout Styles
   Uses theme CSS variables from style.css
   ============================================ */

/* Fallback values if theme CSS variables are not loaded */
:root {
    --lmh-primary-info: var(--lmh-primary-info, #00426A);
    --lmh-primary-success: var(--lmh-primary-success, #46b450);
    --lmh-bg-gray: var(--lmh-bg-gray, #f0f0f0);
    --lmh-bg-dark-gray: var(--lmh-bg-dark-gray, #50575e);
    --lmh-text-muted: var(--lmh-text-muted, #646970);
}

/* Reset & Base */
.thg-checkout-wrapper {
    background-color: #e4e5e494;
    padding: 60px 0;
    min-height: 100vh;
}

.thg-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.thg-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}
.thg-summary-item:has(+ .thg-summary-total) {
    border-bottom: none;
    padding-bottom: 0;
}
.thg-checkout-header h1 {
    color: var(--lmh-primary-info);
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.thg-checkout-header p {
    color: var(--lmh-text-muted);
    font-size: 16px;
    margin: 0;
}

/* Progress Steps */
.thg-checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    gap: 0;
}

.thg-checkout-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thg-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--lmh-bg-dark-gray);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.thg-checkout-step.active .thg-step-number,
.thg-checkout-step.completed .thg-step-number {
    background-color: var(--lmh-primary-info);
}

.thg-checkout-step.completed .thg-step-number {
    background-color: var(--lmh-primary-success);
    color: var(--lmh-primary-info);
}

.thg-step-label {
    font-weight: 600;
    color: var(--lmh-bg-dark-gray);
    font-size: 14px;
    transition: all 0.3s ease;
}

.thg-checkout-step.active .thg-step-label {
    color: var(--lmh-primary-info);
}

.thg-checkout-step.completed .thg-step-label {
    color: var(--lmh-primary-info);
}

.thg-step-connector {
    width: 80px;
    height: 2px;
    background-color: var(--lmh-bg-dark-gray);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.thg-step-connector.active {
    background-color: var(--lmh-primary-success);
}

/* Layout */
.thg-checkout-row {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Main Column */
.thg-checkout-col-main {
    min-width: 0;
}

.thg-checkout-section {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
}

.thg-checkout-section h2 {
    color: var(--lmh-primary-info);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--lmh-primary-success);
}

.thg-checkout-section h3 {
    color: var(--lmh-primary-info);
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 20px 0;
}

.thg-checkout-section h3:first-of-type {
    margin-top: 0;
}

/* Sidebar */
.thg-checkout-col-sidebar {
    position: sticky;
    top: 30px;
}

.thg-checkout-summary {
    background: #fff;
    overflow: hidden;
}

.thg-summary-header {
    background: var(--lmh-primary-info);
    padding: 20px 25px;
}

.thg-summary-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.thg-summary-body {
    padding: 25px;
}

.thg-summary-event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--lmh-primary-info);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lmh-bg-gray);
}

.thg-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lmh-bg-gray);
}

.thg-summary-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.thg-summary-icon {
    width: 36px;
    height: 36px;
    background: var(--lmh-bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thg-summary-icon i {
    color: var(--lmh-primary-info);
    font-size: 14px;
}

.thg-summary-details {
    flex: 1;
    min-width: 0;
}

.thg-summary-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--lmh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.thg-summary-value {
    font-size: 15px;
    color: #000;
    line-height: 1.4;
}

.thg-summary-value strong {
    display: block;
    color: var(--lmh-primary-info);
}

/* Total Section */
.thg-summary-total {
    background: var(--lmh-bg-gray);
    margin: 25px -25px -25px -25px;
    padding: 25px;
}

.thg-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thg-summary-total-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--lmh-primary-info);
}

.thg-summary-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--lmh-primary-info);
}

.thg-summary-price.free {
    color: var(--lmh-primary-success);
}

/* Trust Badges */
.thg-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--lmh-bg-gray);
    margin-top: 20px;
}

.thg-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--lmh-text-muted);
}

.thg-trust-badge i {
    color: var(--lmh-primary-info);
    font-size: 16px;
}

/* Form Styles */
.thg-form-field {
    margin-bottom: 24px;
}

.thg-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.thg-form-field label .required {
    color: #dc3545;
    margin-left: 2px;
}

.thg-form-field input[type="text"],
.thg-form-field input[type="email"],
.thg-form-field input[type="tel"],
.thg-form-field input[type="date"],
.thg-form-field input[type="number"],
.thg-form-field textarea,
.thg-form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--lmh-bg-gray);
    background: #fff;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    transition: all 0.2s ease;
    border-radius: 0;
}

.thg-form-field input:focus,
.thg-form-field textarea:focus,
.thg-form-field select:focus {
    outline: none;
    border-color: var(--lmh-primary-info);
    box-shadow: 0 0 0 3px rgba(0, 66, 106, 0.1);
}

.thg-form-field input::placeholder,
.thg-form-field textarea::placeholder {
    color: var(--lmh-bg-dark-gray);
}

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

.thg-form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300426A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Form Row (Two columns) */
.thg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.thg-form-row .thg-form-field {
    margin-bottom: 0;
}

.thg-col-half {
    margin-bottom: 0 !important;
}

/* Error States */
.thg-field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.thg-form-field.error input,
.thg-form-field.error textarea,
.thg-form-field.error select {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.thg-form-field.error .thg-field-error {
    display: block;
}

/* Radio and Checkbox Groups */
.thg-radio-group,
.thg-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thg-radio-group label,
.thg-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    padding: 12px 16px;
    background: var(--lmh-bg-gray);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thg-radio-group label:hover,
.thg-checkbox-group label:hover {
    border-color: var(--lmh-primary-info);
}

.thg-radio-group input,
.thg-checkbox-group input {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--lmh-primary-info);
}

/* HTML Content Block */
.thg-form-html-content {
    padding: 20px;
    background: var(--lmh-bg-gray);
    margin-bottom: 24px;
    border-left: 4px solid var(--lmh-primary-info);
}

.thg-form-html-content p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.thg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: capitalize;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.thg-btn-primary {
    background: var(--lmh-primary-info);
    color: #fff;
    width: 100%;
}

.thg-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-text-muted);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-btn-primary:hover::before {
    transform: scaleX(1);
}

.thg-btn-primary:hover {
    color: #fff;
}

.thg-btn-secondary {
    background: transparent;
    color: var(--lmh-primary-info);
    border: 3px solid var(--lmh-primary-info);
}

.thg-btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-primary-success);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-btn-secondary:hover::before {
    transform: scaleX(1);
}

.thg-btn-secondary:hover {
    color: var(--lmh-primary-info);
}

.thg-btn i {
    font-size: 14px;
}

.thg-checkout-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--lmh-bg-gray);
}

.thg-register-online-wrapper {
    margin: 30px 0;
    text-align: center;
}

/* Modal Styles */
.thg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 66, 106, 0.9);
}

.thg-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    margin: 20px;
    background: #fff;
    overflow-y: auto;
    z-index: 100001;
}

.thg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--lmh-primary-info);
}

.thg-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.thg-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.thg-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.thg-modal-body {
    padding: 30px;
}

.thg-secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--lmh-bg-gray);
    color: var(--lmh-text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.thg-secure-payment::before {
    content: "\f023";
    font-family: "Font Awesome 6 Pro", "FontAwesome";
    font-weight: 900;
    color: var(--lmh-primary-info);
}

.thg-modal-actions {
    margin-top: 30px;
}

.thg-modal-actions .thg-btn {
    width: 100%;
}

/* Payment Messages */
#thg-payment-messages {
    margin-top: 20px;
}

#thg-payment-messages .thg-message {
    padding: 16px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#thg-payment-messages .thg-message-success {
    background: rgba(196, 214, 0, 0.15);
    color: #000;
    border-left: 4px solid var(--lmh-primary-success);
}

#thg-payment-messages .thg-message-error {
    background: #fff5f5;
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Event Full / Error State */
.thg-checkout-error {
    max-width: 600px;
    margin: 60px auto;
    padding: 50px 40px;
    background: #fff;
    text-align: center;
}

.thg-checkout-error-icon {
    width: 80px;
    height: 80px;
    background: var(--lmh-bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.thg-checkout-error-icon i {
    font-size: 32px;
    color: var(--lmh-bg-dark-gray);
}

.thg-checkout-error h2 {
    color: var(--lmh-primary-info);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.thg-checkout-error p {
    color: var(--lmh-text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

/* Loading State */
.thg-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.thg-btn.thg-loading {
    color: transparent;
}

.thg-btn.thg-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: thg-spin 0.8s linear infinite;
}

@keyframes thg-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.thg-recaptcha-widget {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

/* Email Verification Modal */
.thg-verify-modal-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--lmh-primary-info, #00426A) 0%, #003050 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.thg-verify-modal-icon .dashicons {
    color: #fff;
    font-size: 28px;
    width: 28px;
    height: 28px;
}
.thg-verify-modal-msg {
    text-align: center;
    color: #50575e;
    font-size: 14px;
    margin: 0 0 24px 0;
    line-height: 1.5;
}
.thg-verify-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.thg-verify-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    border: 2px solid #c3c4c7;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1d2327;
}
.thg-verify-digit:focus {
    border-color: var(--lmh-primary-info, #00426A);
    box-shadow: 0 0 0 3px rgba(0, 66, 106, 0.15);
}
.thg-verify-timer {
    text-align: center;
    color: #646970;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.thg-verify-timer .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.thg-verify-timer.thg-verify-expired {
    color: #d63638;
}
.thg-verify-error {
    padding: 10px 16px;
    background: #fef0f0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #d63638;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
.thg-verify-resend {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #646970;
}
.thg-verify-resend-link {
    background: none;
    border: none;
    color: var(--lmh-primary-info, #00426A);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.thg-verify-resend-link:hover {
    color: #003050;
}
.thg-verify-resend-link:disabled {
    color: #c3c4c7;
    cursor: not-allowed;
    text-decoration: none;
}
@media screen and (max-width: 480px) {
    .thg-verify-inputs { gap: 6px; }
    .thg-verify-digit { width: 40px; height: 48px; font-size: 20px; }
}

/* Card Icons */
.thg-card-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.thg-card-icons img {
    height: 24px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .thg-checkout-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .thg-checkout-col-sidebar {
        position: static;
        order: -1;
    }

    .thg-checkout-steps {
        flex-wrap: wrap;
        gap: 15px;
    }

    .thg-step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .thg-checkout-wrapper {
        padding: 30px 0;
    }

    .thg-checkout-container {
        padding: 0 15px;
    }

    .thg-checkout-header h1 {
        font-size: 28px;
    }

    .thg-checkout-section {
        padding: 25px 20px;
    }

    .thg-checkout-section h2 {
        font-size: 20px;
    }

    .thg-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .thg-form-row .thg-form-field {
        margin-bottom: 24px;
    }

    .thg-checkout-steps {
        justify-content: center;
    }

    .thg-step-label {
        font-size: 12px;
    }

    .thg-modal-content {
        margin: 15px;
    }

    .thg-modal-header {
        padding: 20px;
    }

    .thg-modal-body {
        padding: 20px;
    }

    .thg-summary-total {
        margin: 25px -20px -25px -20px;
        padding: 20px;
    }

    .thg-summary-body {
        padding: 20px;
    }

    .thg-summary-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .thg-checkout-header h1 {
        font-size: 24px;
    }

    .thg-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .thg-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ========================================================================
 * Session Schedule + Slot Picker (PR 2)
 * Brand colors: #00426A (primary info), #C4D600 (primary success)
 *
 * NOTE: outer section wrappers intentionally carry no border, padding or
 * background - the inner cards do the visual work.
 * ======================================================================== */

.thg-series-schedule,
.thg-slot-picker {
    margin: 24px 0;
}

.thg-series-schedule-header,
.thg-slot-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

.thg-series-schedule-header h3,
.thg-slot-picker-header h3,
.thg-slot-picker > h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #00426A;
    letter-spacing: -0.01em;
}

.thg-series-schedule-badge,
.thg-slot-picker-badge {
    background: #C4D600;
    color: #00426A;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 16px;
    white-space: nowrap;
}

.thg-series-schedule-intro,
.thg-slot-picker-intro {
    margin: 6px 0 16px;
    color: #5c6370;
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- Shared date badge (series + slot) ---------- */

.thg-series-session-badge,
.thg-slot-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e4e6e8;
    border-radius: 6px;
    overflow: hidden;
    line-height: 1;
    text-align: center;
    width: 60px;
    flex-shrink: 0;
}

.thg-series-session-badge-month,
.thg-slot-badge-month {
    background: #00426A;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 0;
    width: 100%;
}

.thg-series-session-badge-day,
.thg-slot-badge-day {
    color: #00426A;
    font-size: 22px;
    font-weight: 700;
    padding: 8px 0;
}

/* ---------- Series schedule session cards ---------- */

.thg-series-session-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.thg-series-session {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 1px solid #e4e6e8;
    border-radius: 8px;
    transition: border-color 0.15s;
}

.thg-series-session:hover {
    border-color: #C4D600;
}

.thg-series-session-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.thg-series-session-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.thg-series-session-num {
    background: #C4D600;
    color: #00426A;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    line-height: 1.5;
}

.thg-series-session-date-full {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.thg-series-session-meta,
.thg-slot-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #5c6370;
}

.thg-series-session-dot,
.thg-slot-dot {
    color: #b8bdc4;
}

.thg-series-session-time i,
.thg-slot-time i {
    color: #00426A;
    margin-right: 4px;
}

/* ---------- Pick-slot selectable cards ---------- */

.thg-slot-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.thg-slot-row {
    background: #f8f9fa;
    border: 1px solid #e4e6e8;
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.thg-slot-row:hover:not(.is-unavailable) {
    border-color: #00426A;
}

.thg-slot-row:has(.thg-slot-input:checked) {
    border-color: #00426A;
    background: #f2f7fb;
    box-shadow: 0 1px 4px rgba(0, 66, 106, 0.12);
}

.thg-slot-row.is-unavailable {
    opacity: 0.55;
}

.thg-slot-label {
    display: grid;
    grid-template-columns: auto 60px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    margin: 0;
    cursor: pointer;
}

.thg-slot-row.is-unavailable .thg-slot-label {
    cursor: not-allowed;
}

.thg-slot-input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #00426A;
    flex-shrink: 0;
}

.thg-slot-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.thg-slot-date {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.thg-slot-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.thg-slot-price {
    font-size: 16px;
    font-weight: 700;
    color: #00426A;
}

.thg-slot-avail {
    font-size: 12px;
    font-weight: 600;
    color: #5c6370;
}

.thg-slot-avail.is-full {
    color: #8a1f1f;
}

.thg-slot-picker-error {
    margin: 14px 0 0;
    color: #8a1f1f;
    font-size: 14px;
}

/* Sidebar extras */
.thg-summary-sub {
    display: block;
    font-size: 12px;
    color: #6c7075;
    margin-top: 2px;
}

/* Mobile */
@media (max-width: 640px) {
    .thg-series-session,
    .thg-slot-label {
        grid-template-columns: 52px 1fr;
    }
    .thg-slot-label {
        grid-template-areas:
            "input   input"
            "badge   body"
            "badge   side";
        gap: 8px 12px;
    }
    .thg-slot-input { grid-area: input; justify-self: start; }
    .thg-slot-badge { grid-area: badge; width: 52px; }
    .thg-slot-body  { grid-area: body; }
    .thg-slot-side  {
        grid-area: side;
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
    }
    .thg-series-session-badge,
    .thg-slot-badge { width: 52px; }
    .thg-series-session-badge-day,
    .thg-slot-badge-day { font-size: 20px; padding: 6px 0; }
}
