body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffff;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 350px;
    padding: 30px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    text-align: center;
    z-index: 1000;
    animation: popup-show 0.5s forwards;
}

@keyframes popup-show {
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.popup p {
    font-size: 16px;
    margin: 0 0 20px;
}

.popup input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.popup button {
    padding: 10px 20px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.popup button:hover {
    background-color: #e68900;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5f5f;
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 35px; /* Increased size for better visibility */
    height: 35px; /* Increased size for better visibility */
    font-size: 20px; /* Increased font size for better readability */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added shadow for depth */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
}

.close-button:hover {
    background: #e74c3c; /* Slightly darker red on hover */
    transform: scale(1.1); /* Slight scale effect for interactivity */
}

.close-button:focus {
    outline: none; /* Remove the default focus outline */
}


.thank-you {
    display: none;
}
