:root{
    --tip_popup_overlay:#d3d3d390;
    --tip_title_color:#e679ca;
    --tip_popup_bg:#3b5ba5;
    --tip_text_color:#ffffff;
    --popup_display:flex;
}

.tip_popup_background{
    position: fixed;
    display: var(--popup_display);
    justify-content: center;
    align-items: center;
    inset:0 0 0 0;
    background-color: var(--tip_popup_overlay);
    z-index: 99999;
}

.tip_popup_wrapper{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    max-width: 50%;
    width: fit-content;
    max-height: 80%;
    height: fit-content;
    color:var(--text_color);
    background-color: var(--tip_popup_bg);
}

.tip_popup_wrapper h3, .tip_popup_wrapper p{
    display: flex;
    text-align: center;
    align-items: center;
    text-wrap: wrap;
}

.tip_popup_wrapper h3{
    font-size: 20px !important;
}

.tip_popup_closing_btn{
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0 0 auto auto;
    transform: translate(50%, -50%);
    border: 2px solid rgb(0, 208, 255);
    background-color: rgb(0, 208, 255);
    width: 3ch;
    height: 3ch;
    aspect-ratio: 1/1;
    border-radius: 50%;
    cursor: pointer;
}.bottom-notif-notif-wrapper{
    color: #ffff;
    background-color: #064966 ;
    position: fixed;
    bottom: 0%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    z-index: 99;
}

.bottom-notif-notif-wrapper img{
    background-color: rgba(255, 255, 255, 1);
    padding: 5px;
    height: 50px;
    width: auto;
    object-fit: contain;
}

.bottom-notif-notif-wrapper .bottom-notif-text{
    margin: auto 0;
    display: flex;
    align-items: center;
    text-align: center;
}

.bottom-notif-notif-wrapper .bottom-notif-closing-btn{
    display: grid;
    align-content:center;
    height: 50%;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    aspect-ratio: 1;
}

.bottom-notif-notif-wrapper.bottom-notif-hide{
    display: none !important;
}

@media screen and (max-width: 920px) {

    .bottom-notif-notif-wrapper{
        font-size: 13px;
        gap: 12px;
    }

    .bottom-notif-notif-wrapper img{
        margin: 3px;
    }
}:root{
    --scrollbar-thumb-bg-color : lightgray;
}

.button-chatbot-toggle-wrapper{
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999999;
    bottom: 4%;
    left: 10%;
}

.button-chatbot-toggle-wrapper .chatbot-window-front-toggle-btn{
    position: relative;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    font-size: 2rem;
}

.button-chatbot-toggle-wrapper .chatbot-front-pulse-wrapper{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,0%);
    display: flex;
    gap: 2px;
    border-radius: 50%;
}

.button-chatbot-toggle-wrapper .chatbot-pulse-div{
    --duration: 2s;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse var(--duration) calc(var(--duration)/var(--tot) * var(--i)) forwards infinite ;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr 5fr auto;
    width: fit-content;
    max-width: 30vw;
    height: 65vh;
    box-shadow: 1px 0 5px #044580, 
                2px 0 10px #025668;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper.hide{
    display: none;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-inline: 10px;
    justify-content: space-between;
    color: white;
    font-size: 1rem;
    background-color: #044580;

}


.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-body{
    overflow-y: scroll;
}

.button-chatbot-toggle-wrapper .front-chatbot-closing-btn{
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3ch;
    height: 3ch;
    border-radius: 50%;
    border: 1px solid #025668;
    color: #025668;
    transition: all 350ms ease;
}

.button-chatbot-toggle-wrapper .front-chatbot-closing-btn:hover{
    border: 1px solid #025668;
    background-color: #025668;
    color: white;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-input-button-wrapper{
    display: flex;
    margin: 4px;
    gap: 2px;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-input-button-wrapper button.front-chatbot-btn{
    flex: 1;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-input-button-wrapper input{
    min-width: 60%;
    height: 100%;
    flex: 1;
}

/*----styling suggestion in chatbot-------*/

.button-chatbot-toggle-wrapper .chatbot-suggestions{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #fff;
}

.button-chatbot-toggle-wrapper .chatbot-suggestion{
    display: flex;
    justify-content: center;
    background-color: #044580;
    width: 80%;
    padding: 10px 5px;
    cursor: pointer;
    transition: background-color 250ms linear ;
}

.button-chatbot-toggle-wrapper .chatbot-suggestion:hover{
    background-color: #15a2a7;
}

/*-------styling botchat and user-chat-------------------------*/

.button-chatbot-toggle-wrapper .chatbot-bot-chat{
    display: flex;
    justify-content: flex-start;
}

.button-chatbot-toggle-wrapper .chatbot-bot-chat .chatbot-bot-text{
    background-color: #044580;
    margin: 10px 30px 10px 10px;
    padding: 15px 10px;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: background-color 350ms ease;
}

.button-chatbot-toggle-wrapper .chatbot-user-message{
    display: flex;  
    justify-content: flex-end;

}

.button-chatbot-toggle-wrapper .chatbot-user-message .chatbot-user-text{
    background-color: #044580;
    margin: 10px 10px 10px 30px;
    padding: 15px 10px;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    transition: background-color 350ms ease;

}

/*---------------style scroll bar------------------*/

/* Chrome, Safari, Edge */
.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-body::-webkit-scrollbar {
    width: 6px; /* thin scrollbar */
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-body::-webkit-scrollbar-track {
    background: #f1f1f1; /* light track */
    border-radius: 3px;
}

.button-chatbot-toggle-wrapper .chatbot-front-wrapper .chatbot-body::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb-bg-color ); 
    border-radius: 3px;
}

/*-----------------styling responses in chatbot----------------------*/

.button-chatbot-toggle-wrapper .chatbot-bot-response{
    display: flex;
    justify-content: flex-start;
    margin: 5px;
}

.button-chatbot-toggle-wrapper .chatbot-bot-response .chatbot-bot-response-inner{
    display: inline-block;
    background-color: #f1f3f4;
    padding: 5px;
    font-size: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.button-chatbot-toggle-wrapper .chatbot-bot-response .chatbot-bot-response-inner strong, .chatbot-bot-response .chatbot-bot-response-inner a{
    padding: 5px;
}

.button-chatbot-toggle-wrapper .chatbot-bot-response .chatbot-bot-response-inner a{
    text-wrap: nowrap;
}

.button-chatbot-toggle-wrapper .chatbot-body .chatbot-bot-response img[src*='box.png']{
    width:1rem !important;
    height:1rem !important;
}
.button-chatbot-toggle-wrapper .chatbot-body .chatbot-bot-response:has(img[src*='box.png']):nth-child(1 of :has(img[src*='box.png'])) img[src*='box.png']{
    width:1rem !important;
    height:1rem !important;
}

.button-chatbot-toggle-wrapper .chatbot-body .chatbot-bot-response:has(img[src*='box.png']):nth-child(2 of :has(img[src*='box.png'])) img[src*='box.png']{
    width:1.4rem !important;
    height:1.4rem !important;
}

.button-chatbot-toggle-wrapper .chatbot-body .chatbot-bot-response:has(img[src*='box.png']):nth-child(3 of :has(img[src*='box.png'])) img[src*='box.png']{
    width:1.8rem !important;
    height:1.8rem !important;
}




/*------pulse styling in chat icon------*/

@keyframes pulse{
    0%,75%{
        transform: scale(50%);
    }
    50%{
        transform: scale(100%);
    }
    25%,100%{
        transform: scale(50%);
    }
}

/*------media queries--------*/ 

@media screen and (max-width: 768px) {
    .button-chatbot-toggle-wrapper .chatbot-front-wrapper {
        background-color: #ffff;
        transform: translate(-7%, 10px);
        border-radius: 5px;
        overflow: hidden;
        display: grid;
        grid-template-rows: 1fr 5fr auto;
        max-width: 100%;
        min-width: fit-content;
        height: 65vh;
        box-shadow: 1px 0 5px #044580, 
                    2px 0 10px #025668;
    }

    .button-chatbot-toggle-wrapper{
        bottom: 3%;
    }

}

@media screen and (max-width: 835px) and (orientation: landscape){
    .button-chatbot-toggle-wrapper .chatbot-front-wrapper {
        background-color: #ffff;
        transform: translate(-7%, 10px);
        border-radius: 5px;
        overflow: hidden;
        display: grid;
        grid-template-rows: 1fr 5fr auto;
        max-width: 100%;
        min-width: fit-content;
        height: 65vh;
        box-shadow: 1px 0 5px #044580, 
                    2px 0 10px #025668;
    }

    .button-chatbot-toggle-wrapper{
        bottom: 3%;
    }

}