/* Learnovate — Become a Teacher form */
.ect-wrap { font-family: inherit; }

/* ── Hero ─────────────────────────────────────────────────────── */
.ect-hero {
    background: linear-gradient(135deg, #D62304 0%, #a81b02 100%);
    color: #fff;
    padding: 60px 24px;
    text-align: center;
}
.ect-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 18px;
}
.ect-hero__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
}
.ect-hero__sub {
    font-size: 16px;
    opacity: .88;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.ect-benefits {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.ect-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255,255,255,.14);
    border-radius: 30px;
    padding: 8px 18px;
}
.ect-benefit__icon { font-size: 18px; }

/* ── Form card ────────────────────────────────────────────────── */
.ect-form-wrap {
    background: #f7f8fa;
    padding: 48px 24px;
}
.ect-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
    padding: 40px;
    max-width: 760px;
    margin: 0 auto;
}
.ect-form-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}
.ect-form-sub {
    color: #777;
    font-size: 14px;
    margin: 0 0 28px;
}

/* ── Fields ───────────────────────────────────────────────────── */
.ect-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 560px) { .ect-row { grid-template-columns: 1fr; } }

.ect-field { margin-bottom: 16px; }
.ect-row .ect-field { margin-bottom: 0; }

.ect-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.ect-field label small { font-weight: 400; color: #999; }
.ect-req { color: #D62304; }

.ect-field input[type="text"],
.ect-field input[type="email"],
.ect-field input[type="tel"],
.ect-field select,
.ect-field textarea {
    width: 100%;
    border: 1.5px solid #e2e5ea;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: #222;
    background: #fff;
    transition: border-color .2s;
    box-sizing: border-box;
    font-family: inherit;
}
.ect-field input:focus,
.ect-field select:focus,
.ect-field textarea:focus {
    outline: none;
    border-color: #D62304;
    box-shadow: 0 0 0 3px rgba(214,35,4,.08);
}
.ect-field textarea { resize: vertical; }

/* ── Radio group ──────────────────────────────────────────────── */
.ect-radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.ect-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    background: #f7f8fa;
    border: 1.5px solid #e2e5ea;
    border-radius: 8px;
    padding: 8px 14px;
    transition: all .2s;
}
.ect-radio:has(input:checked) {
    background: #fff0ee;
    border-color: #D62304;
    color: #D62304;
    font-weight: 600;
}
.ect-radio input { display: none; }

/* ── Submit button ────────────────────────────────────────────── */
.ect-btn {
    display: block;
    width: 100%;
    background: #D62304;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s, transform .15s;
    font-family: inherit;
}
.ect-btn:hover { background: #b81e03; transform: translateY(-1px); }
.ect-btn:active { transform: translateY(0); }
.ect-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* ── Messages ─────────────────────────────────────────────────── */
.ect-error {
    background: #fff0ee;
    border: 1px solid #f5c6be;
    border-radius: 8px;
    color: #a00;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 12px;
}
.ect-success {
    text-align: center;
    padding: 32px 16px;
}
.ect-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eafbea;
    color: #27a000;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ect-success h3 { font-size: 20px; color: #111; margin: 0 0 8px; }
.ect-success p  { color: #666; font-size: 14px; }
