@charset "utf-8";

/* ========== Base Reset & Typography ========== */
* {
    box-sizing: border-box;
}

body {
    background-color: aliceblue;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 45px 0;
    overflow-x: hidden;
}

/* ========== Layout Containers ========== */
.main {
    width: 100%;
    max-width: 1260px;
    margin: auto;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* ========== Flexbox Section ========== */
.flexParent {
    display: flex;
    flex-wrap: wrap;
    height: 80vh;
    min-height: 80vh;
}

.leftContent,
.rightContent {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

@media (min-width: 768px) {
    .leftContent,
    .rightContent {
        width: 50%;
    }
}

/* ========== Branding & Text ========== */
.logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.title {
    font-size: 34px;
    font-weight: 900;
}

.message {
    font-size: 18px;
    padding: 20px 0;
}

/* ========== Buttons ========== */
.surveyButton {
    margin-top: 20px;
}

.button1 {
    background-color: #aaccff;
    border: none;
    border-radius: 7px;
    width: 200px;
    height: 50px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button1:hover{
    background-color: #89b8ff;
}

/* ========== Links & Disclaimers ========== */
.notNow {
    margin-top: 15px;
}

.notNow a,
.lDisclaimer a {
    color: grey;
    text-decoration: none;
}

.lDisclaimer,
.rDisclaimer,
.rDisclaimer2 {
    font-size: 12px;
    color: grey;
    text-align: center;
}

.lDisclaimer {
    margin-top: 140px;
}

.rDisclaimer, .rDisclaimer2 {
    margin: 30px 0 0 30px;
    width: 90%;
}

.rDisclaimer2  {
    display: none;
}

/* ========== Chat Box ========== */
.chatBox {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    /*overflow: hidden;*/
    border: 2px solid #e6f0fa;
}

.chatBox iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 20px;

}

/* ========== Dark Mode ========== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1e1e1e;
        color: #ffffff;
    }

    .container {
        background-color: #2a2a2a;
    }

    .button1 {
        background-color: #aaccff;
    }

    a:visited {
        color: lightgray;
    }
}

/* ========== Mobile Chat Toggle ========== */
.chat-toggle {
    display: none;
}

.closeChat {
    display: none;
}

@media (max-width: 767px) {
    .chatBox {
        display: none;
    }

    .chat-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        /*background-color: dodgerblue;*/
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        color: white;
        font-size: 30px;
        text-align: center;
        line-height: 60px;
        z-index: 9999;
        cursor: pointer;
    }

    .chatBox.modal {
        display: block;
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 90%;
        max-width: 400px;
        height: 70vh;
        z-index: 9998;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        background: white;
        /*overflow-x: hidden;*/
    }

    .closeChat.modal {
        display: flex;
        position: absolute;
        top: -5px; /* Adjust vertically outside the chat box */
        right: -5px; /* Slightly outside horizontally */
        width: 30px;
        height: 30px;
        background-color: #ffffff;
        border: 1px solid #e6f0fa;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }

    .rDisclaimer {
        display: none;
    }

    .rDisclaimer2 {
        display: block;
    }
    
    .flexParent  {
        height: auto;
        min-height: auto;
    }

}

.chat-icon-gif {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.scroll-wrapper {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-wrapper {
    overscroll-behavior: contain;
}

/*body.lock-scroll{
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}*/
