/* ===========================
   Book Your Training Page
   =========================== */

.byt-section {
    background-color: var(--color-white);
    padding: 80px 0;
}

.byt-header {
    text-align: center;
    margin-bottom: 48px;
}

.byt-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin: 0 0 16px;
}

.byt-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 2vw, 17px);
    color: var(--color-text);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

.byt-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.byt-placeholder {
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    font-style: italic;
    max-width: 680px;
    margin: 0 auto;
}

/* ── WPForms inside the form wrap ────────────────────────── */

.byt-form-wrap input[type="text"],
.byt-form-wrap input[type="email"],
.byt-form-wrap input[type="tel"],
.byt-form-wrap input[type="number"],
.byt-form-wrap select {
    border-radius: 50px !important;
}

.byt-form-wrap textarea {
    border-radius: 16px !important;
}

.byt-form-wrap input[type="text"],
.byt-form-wrap input[type="email"],
.byt-form-wrap input[type="tel"],
.byt-form-wrap input[type="number"],
.byt-form-wrap select,
.byt-form-wrap textarea {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    padding: 10px 14px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background-color: #fff !important;
    color: var(--color-text) !important;
    box-shadow: none !important;
}

.byt-form-wrap input[type="text"]:focus,
.byt-form-wrap input[type="email"]:focus,
.byt-form-wrap input[type="tel"]:focus,
.byt-form-wrap textarea:focus {
    border-color: rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.byt-form-wrap label.wpforms-field-label,
.byt-form-wrap legend.wpforms-field-label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400 !important;
}

/* Training Type — pill card radio buttons */

.byt-form-wrap .wpforms-field-radio li {
    padding: 15px !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
}

.byt-form-wrap .wpforms-field-radio li:has(input[type="radio"]:checked) {
    background-color: #DFE9EF !important;
}

.byt-form-wrap .wpforms-field-radio input[type="radio"] {
    display: none !important;
}

/* Submit button */

.byt-form-wrap .wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 28px !important;
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: var(--color-primary) !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    -webkit-font-smoothing: antialiased !important;
}

.byt-form-wrap .wpforms-submit:hover {
    background-color: #6b0a7a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.byt-form-wrap .wpforms-submit:active {
    transform: translateY(0) !important;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .byt-section {
        padding: 60px 0;
    }

    .byt-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .byt-section {
        padding: 48px 0;
    }
}
