/* VestoFX - Form Success Popup Styling */
.vesto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.vesto-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.vesto-modal-card {
    background: #181d24;
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 18px;
    max-width: 460px;
    width: 100%;
    padding: 36px 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
}

.vesto-modal-overlay.is-visible .vesto-modal-card {
    transform: scale(1) translateY(0);
}

.vesto-modal-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.03) 70%);
    border: 2px solid #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.35);
    animation: vesto-pulse 2s infinite ease-in-out;
}

.vesto-modal-icon-wrap.is-error {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.03) 70%);
    border-color: #ef4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

.vesto-modal-icon-wrap svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vesto-modal-icon-wrap.is-error svg {
    stroke: #ef4444;
}

.vesto-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.vesto-modal-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #a0aec0;
    margin: 0 0 26px;
}

.vesto-modal-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-sizing: border-box;
}

.vesto-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.45);
    filter: brightness(1.08);
}

.vesto-modal-btn:active {
    transform: translateY(0);
}

@keyframes vesto-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
