/* Center the popup */
#recaptchaPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent; /* No background, since the GIF is the main content */
    padding: 0; /* No padding, just the GIF */
    border-radius: 16px; /* Rounded corners */
    text-align: center; /* Center everything */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Optional shadow */
    color: white;
    width: 80%; /* Flexible width */
    max-width: 500px; /* Max width */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 0s linear 1.2s;
    z-index: 9999;
}

#recaptchaPopup.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s ease, visibility 0s linear 0s;
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
    visibility: hidden;
    z-index: 9998;
}

#overlay.active {
    opacity: 0.85;
    visibility: visible;
    pointer-events: all;
}

/* GIF Container Styling */
#gif-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between the two GIFs */
}

/* GIF Styling */
.gif-image {
    width: auto; /* First GIF size */
    height: 430px; /* First GIF size */
    object-fit: contain;
}

.gif-image-second {
    width: auto; /* Second GIF size */
    height: 80px; /* Second GIF size */
    object-fit: contain;
}
