/* Email Verification & 2FA - shared modal / page styles (#1062fe theme) */

.ev-standalone-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #eef4ff 0%, #e7efff 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Safe, generic branded backdrop */
.ev-skeleton-backdrop {
    position: fixed;
    inset: 0;
    filter: blur(6px);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.ev-skeleton-topbar {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #dce8ff;
    display: flex;
    align-items: center;
    padding: 0 32px;
}

.ev-skeleton-logo-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1062fe, #1062fe);
}

.ev-skeleton-body {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 24px;
}

.ev-skeleton-card {
    background: #fff;
    border: 1px solid #dce8ff;
    border-radius: 10px;
    margin-bottom: 16px;
}

.ev-skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.ev-standalone-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    /* Dark blurred popup overlay */
    background: rgba(15, 30, 60, 0.45);
    backdrop-filter: blur(3px);
}

.ev-modal-box,
#ev-modal-overlay .ev-modal-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(16, 98, 254, 0.18);
    padding: 40px 36px 34px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.ev-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #1062fe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(16, 98, 254, 0.35);
}

.ev-icon-circle svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.ev-modal-box h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #23223d;
}

.ev-modal-box p {
    color: #7a7a92;
    font-size: 14px;
    margin: 0 0 22px;
}

.ev-modal-box p strong,
.ev-email-highlight {
    color: #1062fe;
    font-weight: 600;
}

/* 6-box OTP input */
.ev-otp-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.ev-otp-boxes input {
    width: 42px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #23223d;
    border: 1.5px solid #dfe5f2;
    border-radius: 10px;
    background: #f8faff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ev-otp-boxes input:focus {
    outline: none;
    border-color: #1062fe;
    box-shadow: 0 0 0 3px rgba(16, 98, 254, 0.15);
    background: #fff;
}

.ev-otp-dash {
    color: #b9c9e8;
    font-size: 20px;
    padding: 0 2px;
}

.ev-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin-top: 4px;
    background: #1062fe;
    box-shadow: 0 10px 24px rgba(16, 98, 254, 0.30);
    transition: opacity 0.15s, transform 0.1s;
}

.ev-btn:hover {
    opacity: 0.92;
}

.ev-btn:active {
    transform: translateY(1px);
}

.ev-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ev-msg {
    margin-top: 14px;
    font-size: 13px;
    min-height: 18px;
}

.ev-msg-error {
    color: #e5484d;
}

.ev-msg-success {
    color: #22c37a;
}

.ev-msg-info {
    color: #7a7a92;
}

.ev-resend-row {
    font-size: 13px;
    margin-top: 18px;
    color: #9698ad;
}

.ev-resend-row a {
    color: #1062fe;
    text-decoration: none;
    font-weight: 600;
}

.ev-resend-row a:hover {
    text-decoration: underline;
}

.ev-cancel-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    color: #b3b4c9;
    text-decoration: none;
}

.ev-cancel-link:hover {
    color: #7a7a92;
}

#ev-modal-overlay,
#ev-co-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 30, 60, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}