.apply-verify-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.apply-verify-modal[hidden] { display: none !important; }
.apply-verify-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.apply-verify-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 28px 28px 24px;
    width: 100%;
    max-width: 420px;
    z-index: 1;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
}
.apply-verify-modal__panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #111827;
}
.apply-verify-modal__lede {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}
.apply-verify-modal__lede strong { color: #111827; }
.apply-verify-modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.apply-verify-modal input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 22px;
    letter-spacing: 8px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    box-sizing: border-box;
}
.apply-verify-modal input[type="text"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.apply-verify-modal__submit {
    width: 100%;
    margin-top: 14px;
    padding: 11px 16px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.apply-verify-modal__submit:hover { background: #1d4ed8; }
.apply-verify-modal__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.apply-verify-modal__resend {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.apply-verify-modal__resend:disabled { color: #9ca3af; cursor: not-allowed; }
.apply-verify-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}
.apply-verify-modal__close:hover { color: #374151; }
.apply-verify-modal__msg {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}
.apply-verify-modal__msg[hidden] { display: none; }
.apply-verify-modal__msg--info  { background: #eff6ff; color: #1e40af; }
.apply-verify-modal__msg--error { background: #fef2f2; color: #991b1b; }

body.apply-verify-locked { overflow: hidden; }
