.presale-form-wrap {
    margin-top: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.presale-form-wrap.open {
    display: block !important;
    animation: fadeInSlide 0.4s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Popup background */
.signup-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup box */
.signup-popup__content {
    position: relative;
    background: #fff;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    max-height: 90vh;
}

/* Close button */
.signup-popup__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}

/* Gravity Form success message styling */
.gform_confirmation_message {
    font-size: 18px;
    color: #111;
    text-align: center;
    padding: 20px 0;
}

/* Scroll lock when popup open */
body.popup-open {
    overflow: hidden;
}
