/* ── Slot Picker (course page) ─────────────────────────── */
.tcs-slot-picker {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.tcs-slot-label {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a202c;
}
.tcs-req { color: #e53e3e; margin-left: 2px; }
.tcs-slot-options { display: flex; flex-direction: column; gap: 6px; }
.tcs-slot-opt { cursor: pointer; display: block; }
.tcs-slot-opt input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.tcs-slot-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, background .15s, box-shadow .15s;
    cursor: pointer;
}
.tcs-slot-card:hover { border-color: #4a6cf7; background: #f5f3ff; }
.tcs-slot-opt input:checked + .tcs-slot-card {
    border-color: #4a6cf7;
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(74,108,247,.12);
}
/* Smaller font — 14px — so slots fit on one line */
.tcs-slot-days {
    font-weight: 700;
    font-size: 14px;
    color: #1a202c;
    white-space: nowrap;
    min-width: 120px;
}
.tcs-slot-time {
    font-size: 13px;
    color: #4a5568;
    white-space: nowrap;
}
.tcs-slot-err { color: #e53e3e; font-size: 12px; margin: 6px 0 0; font-weight: 600; }

/* Mobile responsive */
@media (max-width: 480px) {
    .tcs-slot-card { flex-wrap: wrap; gap: 4px; padding: 8px 10px; }
    .tcs-slot-days { min-width: unset; font-size: 13px; }
    .tcs-slot-time { font-size: 12px; }
}

/* ── Registration page fields ────────────────────────────── */
.tcs-reg-wrap { margin-bottom: 20px; }
.tcs-selected-banner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 8px;
    font-size: 13px;
    color: #15803d;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.tcs-for-wrap {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.tcs-for-label { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: #1a202c; }
.tcs-for-desc  { font-size: 13px; color: #64748b; margin: 0 0 10px; line-height: 1.5; }
.tcs-for-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 7px;
    font-size: 14px;
    color: #1a202c;
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.tcs-for-textarea:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74,108,247,.12);
}

/* ── Checkout field (wp_footer injected) ─────────────────── */
.tcs-checkout-wrap {
    margin: 0 0 20px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.tcs-checkout-banner {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 8px;
    font-size: 13px;
    color: #15803d;
    margin-bottom: 14px;
    flex-wrap: wrap;
    line-height: 1.5;
}
.tcs-checkout-label { font-size: 14px; font-weight: 700; margin: 0 0 4px; color: #1a202c; }
.tcs-checkout-desc  { font-size: 13px; color: #64748b; margin: 0 0 10px; line-height: 1.5; }
.tcs-checkout-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 7px;
    font-size: 14px;
    color: #1a202c;
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.tcs-checkout-textarea:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74,108,247,.12);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .tcs-checkout-wrap { padding: 14px; }
    .tcs-checkout-label { font-size: 13px; }
    .tcs-checkout-textarea { font-size: 13px; }
}
