/* ==========================================
   HOMEPAGE DISCLAIMER POPUP
========================================== */

.homepop_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.homepop_overlay[hidden] {
    display: none !important;
}

.homepop_overlay * {
    box-sizing: border-box;
}


/* ==========================================
   POPUP MODAL
========================================== */

.homepop_modal {
    position: relative;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    background: #ffffff;
    padding: 25px 20px 30px;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    animation: homepop_fadein 0.35s ease;
}


/* ==========================================
   CLOSE BUTTON
========================================== */

.homepop_close {
    position: absolute;
    top: 7px;
    right: 9px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid #333333;
    border-radius: 3px;
    font-size: 22px;
    line-height: 1;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.homepop_close:hover {
    background: #333333;
    color: #ffffff;
}


/* ==========================================
   DISCLAIMER CONTENT
========================================== */

.homepop_content {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    color: #333333;
    text-align: left;
}

.homepop_content p {
    margin: 0 0 14px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.homepop_content ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 30px;
}

.homepop_content li {
    display: list-item;
    list-style-type: disc;
    margin-bottom: 4px;
    padding-left: 2px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}


/* ==========================================
   POPUP BUTTONS
========================================== */

.homepop_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 22px;
}

.homepop_agree,
.homepop_disagree {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 20px;
    border-radius: 3px;
    background: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* I Agree */

.homepop_agree {
    border: 1px solid #299c48;
    color: #299c48;
}

.homepop_agree:hover {
    background: #299c48;
    color: #ffffff;
}


/* I Disagree */

.homepop_disagree {
    border: 1px solid #d43848;
    color: #d43848;
}

.homepop_disagree:hover {
    background: #d43848;
    color: #ffffff;
}


/* ==========================================
   DISABLE BACKGROUND SCROLL
========================================== */

body.homepop_scroll_lock {
    overflow: hidden !important;
}


/* ==========================================
   POPUP ANIMATION
========================================== */

@keyframes homepop_fadein {

    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (prefers-reduced-motion: reduce) {

    .homepop_modal {
        animation: none;
    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .homepop_modal {
        max-width: 95%;
        padding: 30px 20px 25px;
    }

    .homepop_content {
        font-size: 13px;
        line-height: 1.7;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 480px) {

    .homepop_overlay {
        padding: 12px;
    }

    .homepop_modal {
        max-width: 100%;
        max-height: 90vh;
        padding: 32px 15px 22px;
    }

    .homepop_content {
        font-size: 12px;
        line-height: 1.7;
    }

    .homepop_content ul {
        padding-left: 20px;
    }

    .homepop_content li {
        margin-bottom: 7px;
    }

    .homepop_buttons {
        gap: 10px;
        margin-top: 18px;
    }

    .homepop_agree,
    .homepop_disagree {
        min-height: 40px;
        padding: 10px 18px;
        font-size: 13px;
    }

}