/* OTP send modal — login-screen overlay keyed to --color-login-* tokens so
   the authenticated palette does not bleed into the pre-auth surface. The
   overlay / pane-swap shape mirrors console-modal.css, but the dialog is
   sized as a login card rather than full-viewport. */

.mc-otp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1080;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mc-otp-overlay.is-open {
    display: flex;
}

.mc-otp-dialog {
    width: 100%;
    max-width: 440px;
    background: var(--color-login-card-bg, white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 32px;
    box-sizing: border-box;
    text-align: center;
}

.mc-otp-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--color-login-accent, #340a30);
}

.mc-otp-pane[hidden] { display: none; }

.mc-otp-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.mc-otp-icon-success { color: #2f8f4a; }
.mc-otp-icon-error   { color: #932a2a; }

.mc-otp-message {
    margin: 0 0 20px;
    color: #4a3a5a;
    font-size: 0.95rem;
    line-height: 1.45;
}

.mc-otp-actions {
    display: flex;
    justify-content: center;
}

.mc-otp-btn-primary {
    min-width: 120px;
    padding: 10px 18px;
    background: var(--color-login-button-bg, #340a30);
    color: var(--color-login-button-text, #ffffff);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.mc-otp-btn-primary:hover {
    background: var(--color-login-button-hover-bg, #2a0827);
}
