.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.modal.active {
    display: flex;
}

.otp-popup {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popupScale 0.3s ease;
}

@keyframes popupScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.otp-header h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
}

.otp-header p {
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

/* BODY */
.otp-body {
    margin-top: 25px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-box {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    outline: none;
    transition: 0.2s;
}

.otp-box:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* TIMER */
.otp-timer {
    text-align: center;
    font-size: 14px;
    color: #475569;
    margin: 20px 0 5px 0;
}

/* BUTTON */
.otp-btn {
    width: 100%;
    background: #3b82f6;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.otp-btn:hover {
    background: #2563eb;
}

.resend-otp {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.resend-otp span {
    color: #3b82f6;
    font-weight: 500;
}

.otp-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
    color: #64748b;
}
