.atmun-otp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.atmun-otp-overlay.is-open { display: flex; }

.atmun-otp-overlay.msg-only .atmun-otp-sub,
.atmun-otp-overlay.msg-only .atmun-otp-inputs,
.atmun-otp-overlay.msg-only .atmun-otp-verify,
.atmun-otp-overlay.msg-only .atmun-otp-resend-wrap { display: none; }
.atmun-otp-overlay.msg-only .atmun-otp-msg { font-size: 15px; margin: 14px 0 2px; line-height: 1.5; }

.atmun-otp-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 28px 24px 24px;
    font-family: Barlow, "Open Sans", Helvetica, Arial, sans-serif;
    color: #111827;
    animation: atmunOtpIn 0.18s ease-out;
}
@keyframes atmunOtpIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

.atmun-otp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
}
.atmun-otp-close:hover { color: #374151; }

.atmun-otp-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}
.atmun-otp-sub {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
    word-break: break-word;
}
.atmun-otp-sub strong { color: #111827; }

.atmun-otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
}
.atmun-otp-box {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    color: #111827;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.atmun-otp-box:focus {
    outline: none;
    border-color: #111827;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.atmun-otp-msg {
    min-height: 20px;
    font-size: 13.5px;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.4;
}
.atmun-otp-info { color: #4b5563; }
.atmun-otp-ok   { color: #047857; }
.atmun-otp-err  { color: #b91c1c; }

.atmun-otp-verify {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 0;
    cursor: pointer;
    transition: background 0.15s;
}
.atmun-otp-verify:hover { background: #000; }
.atmun-otp-verify:disabled { opacity: 0.6; cursor: default; }

.atmun-otp-resend-wrap {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}
.atmun-otp-resend {
    border: none;
    background: transparent;
    color: #2563eb;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.atmun-otp-resend:hover { color: #1d4ed8; }

@media (max-width: 420px) {
    .atmun-otp-box { width: 40px; height: 50px; font-size: 20px; }
    .atmun-otp-modal { padding: 24px 16px 18px; }
}
