.groupPopup .preem_form input[type="text"],
.groupPopup .preem_form input[type="email"] {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    color: #000;
}

.groupPopup .modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.groupPopup .modal-content {
    position: relative;
    background-color: #1a1426;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    box-sizing: border-box;
}

.groupPopup .close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.groupPopup .close-button:hover,
.groupPopup .close-button:focus {
    color: #fff;
    text-decoration: none;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.groupPopup .form-container {
    margin: 0;
}

/* body {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    background: transparent;
    margin: 0;
    padding: 1rem;
  } */

.groupPopup .form-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #1a1426;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    color: #fff;
    box-sizing: border-box;
}

.groupPopup .preem_form_title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: bold;
    color: #ff2e63;
    margin-bottom: 1rem;
    text-align: center;
}

.groupPopup .preem_form_copy {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    text-align: center;
}

.groupPopup .preem_form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    background: #ff2e63;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    box-sizing: border-box;
}

.groupPopup .preem_form button:hover {
    background: #e02568;
    transform: scale(1.02);
}

.groupPopup .preem_form_fine-print {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
    text-align: left;
}

.groupPopup .preem_form_fine-print p {
    font-size: 0.7rem !important;
    font-weight: normal !important;
    font-family: inherit !important;
}

.groupPopup .preem_form_fine-print p span a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-size: inherit;
}

.groupPopup .preem_form_fine-print p span a:hover {
    color: #ff2e63;
}

.groupPopup .form-message {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.groupPopup .form-message.success {
    color: #4CAF50;
}

.groupPopup .form-message.error {
    color: #ff2e63;
}

@media (max-width: 400px) {
    .groupPopup .form-container {
        padding: 1rem;
    }

    .groupPopup .preem_form button {
        font-size: 1rem;
        padding: 0.8rem;
    }
}