/* Popup link */
.suredrop-popup-link {
    color: var(--suredrop-accent-color);
}
.suredrop-popup-link:hover {
    color: var(--suredrop-tertiary-color);
}

/* Popup visibility */
.suredrop-popup-hidden {
    visibility: hidden; /* Set initial visibility to hidden */
    opacity: 0; /* Set initial opacity to 0 */
}

.suredrop-popup-visible {
    visibility: visible;
    opacity: 1;
}

/* Popup */
.suredrop-popup {
    transition: visibility 0s, opacity 0.5s ease; /* Add smooth transition */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px; /* Adjust the width as needed */
    max-width: 80%;
    height: 500px; /* Adjust the height as needed */
    overflow: auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 25px;
    border-radius: 15px;
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Arrange items vertically */
}

/* Content container */
.suredrop-popup-content {
    margin-top: auto; /* Push content to the bottom */
    margin-bottom: auto; /* Push content to the top */
}


/* Close button */
#suredrop-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    color: gray;
    text-decoration: none;
}
#suredrop-close-btn:hover {
    color: #afb0ae;
}

/* Mobile */
@media only screen and (max-width: 767px) {
    #help-link-popup {
        width: 95%; /* Take up the entire width of the screen */
        max-width: none; /* Remove max-width restriction */
    }
    #suredrop-close-btn {
        font-size: 20px;
        display: block;
        position: fixed;
        top: 10px; /* Adjust the distance from the bottom as needed */
        right: 10px;
        transform: translateX(-50%);
        z-index: 1001; /* Ensure it's above the container content */
    }
    #suredrop-close-btn:hover {
        color: gray;
    }
}