/* PayPrime Verification & Success Modal Styles */
.pp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
}

.pp-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pp-modal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    width: 90%;
    max-width: 440px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.25s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.pp-modal-overlay.active .pp-modal-card {
    transform: scale(1);
}

.pp-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.pp-modal-close:hover {
    color: #334155;
    background: #f1f5f9;
}

.pp-modal-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.pp-icon-cream {
    background-color: #F7EFE6;
}

.pp-icon-blue {
    background-color: #E0F2FE;
}

.pp-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.pp-modal-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.pp-email-badge {
    display: inline-block;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 6px 16px;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    margin: 0 auto 22px auto;
    word-break: break-all;
}

.pp-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.pp-otp-box {
    width: 44px;
    height: 52px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pp-otp-box:focus {
    border-color: #A06D3B;
    box-shadow: 0 0 0 3px rgba(160, 109, 59, 0.15);
}

.pp-modal-error {
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 12px;
    display: none;
    line-height: 1.4;
    text-align: center;
}

.pp-resend-text {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 18px 0;
}

.pp-resend-action {
    color: #A06D3B;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.pp-resend-action.disabled {
    color: #94a3b8;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.pp-resend-timer {
    color: #64748b;
    margin-left: 4px;
}

.pp-btn-brown {
    background-color: #A06D3B;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    padding: 13px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-sizing: border-box;
    font-family: inherit;
}

.pp-btn-brown:hover {
    background-color: #8c5d2e;
}

.pp-btn-brown:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.pp-btn-block {
    width: 100%;
}

.pp-modal-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 20px 0 14px 0;
}

.pp-link-change-email {
    font-size: 13px;
    color: #475569;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease;
    display: inline-block;
}

.pp-link-change-email:hover {
    color: #0f172a;
}

.pp-char-counter {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: -10px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .pp-modal-card {
        padding: 28px 20px 22px;
        width: 92%;
    }
    .pp-otp-inputs {
        gap: 6px;
    }
    .pp-otp-box {
        width: 38px;
        height: 46px;
        font-size: 19px;
    }
}
