.success-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.success-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.success-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.success-popup-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 480px;

    padding: 40px 30px;

    background: #fff;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18);

    transform: translateY(15px);

    transition: transform 0.3s ease;
}

.success-popup.is-visible .success-popup-content {
    transform: translateY(0);
}

.success-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(50, 130, 80, 0.1);

    color: #328250;

    font-size: 22px;
}

.success-popup-content h2 {
    margin: 0 0 15px;
}

.success-popup-content p {
    margin: 0 auto 25px;

    max-width: 380px;

    line-height: 1.6;
}

.success-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;

    font-size: 28px;
    font-weight: 300;

    color: #243d63;

    cursor: pointer;
}

.success-popup-button {
    border: 0;
    cursor: pointer;
}