﻿
.g-recaptcha iframe {
    pointer-events: auto !important;
}

.captcha-active #popupHeader {
    cursor: not-allowed;
    opacity: 0.6;
}



#timedPopup {
    display: none;
    position: fixed !important;
    top: 50%;
    left: 50%;
    margin-left: -175px; /* half of width (350px) */
    margin-top: -220px; /* adjust based on height */

    background-color: #ffffff;
    padding: 25px;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

#popupHeader {
    padding-bottom: 10px;
    cursor: move;
    user-select: none;
    font-size: 30px;
    font-weight:bold;
}

.captcha-lock #popupHeader {
    cursor: grabbing;
}



#popupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2147483646;
    pointer-events: none;
}



input, select {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

    .close-btn:hover {
        color: red;
    }

.min-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.min-btn:hover {
        color: #555;
    }

#timedPopup.minimized {
    height: auto;
    padding-bottom: 10px;
}

    #timedPopup.minimized #popupBody {
        display: none;
    }


@media (max-width: 576px) {
    #timedPopup {
        width: 90vw; /* almost full width */
        max-width: 360px;
        padding: 18px;
        top: 50vh;
        left: 50vw;
    }

    .close-btn {
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    input, select {
        font-size: 14px;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    #timedPopup {
        width: 420px;
        padding: 22px;
    }

    input, select {
        font-size: 15px;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    #timedPopup {
        width: 380px;
    }
}

@media (min-width: 1200px) {
    #timedPopup {
        width: 350px; /* your default */
    }
}



@media (max-width: 480px) {
    .rc-anchor-container {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}


@media (max-width: 360px) {
    .rc-anchor-container {
        transform: scale(0.75);
        transform-origin: 0 0;
    }
}



