.enrollment-box {
    color: #0f172a;
}
.enrollment-heading h2 {
    margin: .55rem 0 0;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.025em;
}
.enrollment-heading p {
    margin: .55rem 0 0;
    color: #64748b;
    font-size: .875rem;
    line-height: 1.6;
}
.enrollment-kicker {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c84d0c;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.enrollment-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-top: 1.25rem;
    padding: .35rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}
.enrollment-tab {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .55rem;
    padding: .75rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    color: #64748b;
    text-align: left;
    transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.enrollment-tab:hover {
    color: #0f172a;
}
.enrollment-tab[aria-selected="true"] {
    border-color: #fed7aa;
    background: #fff;
    color: #c84d0c;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.enrollment-tab:focus-visible {
    outline: 3px solid rgba(245, 126, 32, .25);
    outline-offset: 2px;
}
.enrollment-tab svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}
.enrollment-tab span {
    min-width: 0;
}
.enrollment-tab strong,
.enrollment-tab small {
    display: block;
}
.enrollment-tab strong {
    font-size: .72rem;
    line-height: 1.25;
    font-weight: 800;
}
.enrollment-tab small {
    display: none;
    margin-top: .15rem;
    color: #94a3b8;
    font-size: .65rem;
}
.enrollment-panel {
    margin-top: 1.35rem;
    animation: enrollment-panel-in .22s ease-out;
}
.enrollment-panel[hidden] {
    display: none !important;
}
.enrollment-panel-intro {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 1px solid #ffedd5;
}
.enrollment-panel-intro h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 850;
}
.enrollment-panel-intro p {
    margin: .35rem 0 0;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.55;
}
.enrollment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
.enrollment-field-wide {
    grid-column: 1 / -1;
}
.enrollment-help {
    margin-top: .35rem;
    color: #64748b;
    font-size: .72rem;
}
.enrollment-error {
    margin-top: .35rem;
    color: #dc2626;
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 700;
}
.enrollment-submit {
    width: 100%;
    margin-top: 1.1rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
}
.enrollment-privacy {
    margin: 1rem 0 0;
    color: #94a3b8;
    text-align: center;
    font-size: .7rem;
    line-height: 1.5;
}
@keyframes enrollment-panel-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 480px) {
    .enrollment-tab small { display: block; }
    .enrollment-tab strong { font-size: .76rem; }
}
@media (min-width: 720px) and (max-width: 1023px) {
    .enrollment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .enrollment-panel { animation: none; }
}

/* intl-tel-input should inherit the full-width course form layout. */
.iti { width: 100%; }
.iti .form-control { width: 100%; }


/* Searchable country field and phone control */
.ts-wrapper { width: 100%; }
.ts-control { min-height: 48px; border: 1px solid #e2e8f0 !important; border-radius: .75rem !important; background: #fff !important; padding: .72rem .85rem !important; box-shadow: none !important; font-family: "Montserrat", sans-serif; }
.ts-wrapper.focus .ts-control { border-color: #f57e20 !important; box-shadow: 0 0 0 4px #ffedd5 !important; }
.ts-dropdown { border: 1px solid #e2e8f0 !important; border-radius: .85rem !important; overflow: hidden; box-shadow: 0 18px 45px rgba(15,23,42,.14) !important; font-family: "Montserrat", sans-serif; }
.ts-dropdown .option { padding: .7rem .85rem !important; }
.ts-dropdown .active { background: #fff7ed !important; color: #c84d0c !important; }
.iti { width: 100%; display: block; }
.iti .form-control { width: 100%; min-height: 48px; padding-left: 118px !important; }
.iti__selected-country-primary { border-right: 1px solid #e2e8f0; padding: 0 .7rem !important; background: #f8fafc; border-radius: .75rem 0 0 .75rem; }
.iti__selected-dial-code { color: #334155; font-weight: 700; font-family: "Montserrat", sans-serif; }
.iti__dropdown-content { border-radius: .9rem !important; border-color: #e2e8f0 !important; box-shadow: 0 18px 45px rgba(15,23,42,.16) !important; }
.iti__country { padding-top: .65rem !important; padding-bottom: .65rem !important; }
.iti__country.iti__highlight { background: #fff7ed !important; }
