/* Email code widget (Pages/Shared/_EmailOtp.cshtml + wwwroot/js/email-otp.js), 9 Nov 2026.
   Used by the leadership pages, /Register/Program, /Register/EligibilityInterest and /Participant/UpdateDetails.
   Show/hide is done by email-otp.js through inline display styles, so nothing here sets display on the js-* parts. */
.eotp {
    border: 1px solid #f0d8c6;
    background: #fffaf6;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0;
}
.eotp__title { font-weight: 700; color: #333; margin-bottom: 2px; }
.eotp__text { font-size: 0.92rem; color: #555; margin-bottom: 10px; }
.eotp__target { font-weight: 600; color: #b8520a; overflow-wrap: anywhere; }
.eotp__label { display: block; font-size: 0.93rem; color: #333; margin-bottom: 8px; font-weight: 600; }
.eotp__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eotp__btn {
    background: #F37721;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    min-height: 46px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
}
.eotp__btn:hover { background: #E06810; }
.eotp__btn:disabled { opacity: 0.65; cursor: default; }
.eotp__btn:focus-visible, .eotp__resend:focus-visible { outline: 3px solid rgba(243, 119, 33, 0.45); outline-offset: 2px; }
.eotp .eotp__code {
    width: 11.5rem;
    max-width: 100%;
    min-height: 50px;
    letter-spacing: 0.35em;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    font-family: "Courier New", ui-monospace, monospace;
    padding: 6px 6px 6px 12px;
}
.eotp .eotp__code::placeholder { color: #d9c7b8; letter-spacing: 0.35em; }
.eotp__help { font-size: 0.86rem; color: #666; margin-top: 10px; }
.eotp__resend {
    background: none;
    border: 0;
    padding: 4px 0;
    color: #b8520a;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.eotp__resend:disabled { color: #777; text-decoration: none; cursor: default; }
.eotp__ok { color: #1a7f37; font-weight: 700; font-size: 0.98rem; }
.eotp__msg { font-size: 0.9rem; margin-top: 8px; }
.eotp__msg:empty { margin-top: 0; }
@media (max-width: 420px) {
    .eotp__row { flex-direction: column; align-items: stretch; }
    .eotp .eotp__code { width: 100%; }
    .eotp__btn { width: 100%; }
}
