/* ── Temple Hall Booking – Front-end Styles ── */

.thb-wrap {
    max-width: 720px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thb-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.thb-form-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.thb-field {
    margin-bottom: 18px;
}

.thb-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.thb-field label span {
    color: #e53e3e;
}

.thb-field input,
.thb-field select,
.thb-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #111;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.thb-field input:focus,
.thb-field select:focus,
.thb-field textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
    background: #fff;
}

.thb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .thb-row { grid-template-columns: 1fr; }
    .thb-form-card { padding: 20px; }
}

.thb-consent {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 8px;
    padding: 14px;
}

.thb-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    cursor: pointer;
}

.thb-consent input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #7c3aed;
}

.thb-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #7c3aed;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, transform 0.1s;
}

.thb-btn:hover  { background: #6d28d9; }
.thb-btn:active { transform: scale(0.99); }
.thb-btn:disabled { background: #a78bfa; cursor: not-allowed; }

.thb-msg {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.thb-msg.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.thb-msg.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
