:root {
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

.whisp-content {
    padding-right: 5px;
    padding-left: 5px;
}



span.whisp-close-btn {
    font-size: 32px;
    position: absolute;
    right: 0px;
    cursor: pointer;
    padding: 5px;
}

.whisp-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 350px;
    min-height: 60vh;
    padding: 8px;
    opacity: 0;
    line-height:normal;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 3px 9px #00000080;
    max-width: 95%;
    border: 0 solid #f3f5f7;
    border-radius: 5px;
    animation: alternate 1s ease-in-out;
    animation-iteration-count: 1;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}


    .whisp-modal.popup {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
    }


    /*@media (max-width: 480px) {
    #whisp-modal {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #whisp-modal {
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    #whisp-modal {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (min-width: 1201px) {
    #whisp-modal {
        transform: translate(-50%, -50%) scale(1.2);
    }
}*/


    .whisp-modal.chat-right {
        bottom: 20px;
        right: 20px;
    }

    .whisp-modal.chat-left {
        bottom: 20px;
        left: 20px;
    }

    .whisp-modal.chat-center {
        position: fixed; /* or absolute */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .whisp-modal.show {
        display: flex;
        flex-direction: column;
        opacity: 1;
        justify-content: space-between;
        align-items: center;
    }




/* Header */
.whisp-header {
    text-align: center;
    padding: 12px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Logo */
.whisp-header-img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* Input */
.whisp-input {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 5px;
    padding-left: 8px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

    .whisp-input input {
        box-sizing: border-box;
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        width: 100%;
        outline: none;
        height: 54px;
        text-align: center;
        border: none;
        -webkit-appearance: none;
        box-shadow: 0 0 0 2px transparent inset,0 0 0 2px #e5e5e5 inset;
        margin: 16px 0 0;
        border-radius: 5px;
        padding: 0 15px;
        transition: all .2s ease-in-out;
        font-weight: 500;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }

        .whisp-input input:focus {
            outline: none;
        }


.whisp-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.whisp-subheader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* sub header text*/
.whisp-subheader-text-1 {
    font-size: 1rem;
    line-height: normal;
    font-family: Montserrat;
    text-align: center;
    box-sizing: border-box;
    margin-top: .8rem;
    margin-bottom: .4rem;
    font-weight: 700;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.whisp-subheader-text-2 {
    font-size: 1rem;
    font-weight: 450;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    font-family: Montserrat;
    text-align: center;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Terms */
.whisp-terms {
    font-size: 0.7rem;
    padding-right: 5px;
    padding-left: 10px;
    padding-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.whisp-terms-text {
    margin: 0;
    font-weight: 500;
    text-align: justify;
}

.whisp-terms-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.whisp-terms-toggle {
    font-weight: 700;
    cursor: pointer;
    color: #1a73e8;
}

.whisp-modal-content {
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    min-height: 50vh;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    width: 100%;
}

.whisp-terms-text-content {
    overflow: auto;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: max-height 0.3s ease-in-out;
    font-size: 0.7rem;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 10px;
    display: none;
    max-height: 200px;
    display: flex;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

    .whisp-terms-text-content.collapsed {
        transition: max-height 0.3s ease-in-out;
        max-height: 0;
        overflow: hidden;
    }

#whisp-modal-container button {
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    border: 0;
    width: 50%;
    height: 54px;
    background: #1a73e8;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
    transition: all .27s;
    box-shadow: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    border-width: 0px;
}


#whisp-modal-container button:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

    #whisp-modal-container button:not(:disabled):hover {
        opacity: 0.8;
    }


    #whisp-modal-container button:not(:disabled):active {
        transform: scale(0.95);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

.whisp-ok-btn:disabled {
    cursor: not-allowed;
    opacity: .6;
}

.whisp-operator-img {
    border-radius: 50%;
    width: 84px;
    max-width: 100px;
}



@keyframes whisp-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/*Floater */
.whisp-floater {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
}

/*.whisp-floater-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease-in-out;
}*/

    .whisp-floater-btn:hover {
        opacity: 0.8;
    }

/*Thank you message*/
.whisp-thank-you h2 {
    font-weight: 600;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.whisp-thank-you p {
    font-size: 16px;
    line-height: 1.5; /* Improves readability */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/*
    ==========================
    CHAT WIDGET STYLES
    =========================

*/

.whisp-chat {
    width: 100%;
    max-width: 420px;
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 10px;
}

.whisp-chat-messages::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.whisp-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.whisp-chat-messages {
    flex: 1;
    overflow: auto;
    padding-right: 8px;
}

.whisp-msg {
    margin: 10px 0;
    max-width: 80%;
}

.whisp-msg-user {
    margin-left: auto;
    text-align: right;
}

.whisp-bubble {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
}

.whisp-msg-user .whisp-bubble {
    background: #db244e;
    color: #fff;
    border-top-right-radius: 0px;
}

.whisp-msg-bot .whisp-bubble {
    background: #f1f3f5;
    border-top-left-radius: 0px;
    color: #0d2123;
}

.whisp-meta {
    font-size: 11px;    
    margin-top: 3px;
}

.whisp-close-chat-btn {
    top: 0px !important;
    bottom: unset !important;
}
 

.whisp-chat-composer {
    display: flex;
    gap: 4px;
    padding: 0px;
    
}

    .whisp-chat-composer input {       
        flex: 1;        
        border: 1px solid #ddd;
        outline: none;
        font-size: 16px;
        font-family: inherit;
    }

    .whisp-chat-composer button { 
        border: none;
        cursor: pointer;
        font-weight: 600;

    }

/*
    ==========================
    CONNECT OPTIONS STYLES
    ==========================
*/

    .whisp-connect-wrapper {
    padding: 20px 16px 10px 16px;
}

.whisp-connect-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.whisp-connect-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: #f7f7f9;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.whisp-connect-option:hover {
    background: #ececf2;
    transform: translateY(-1px);
}

.whisp-connect-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(123, 97, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 14px;
}

.whisp-connect-heading {
    font-weight: 600;
    font-size: 15px;
    color:black;
}

.whisp-connect-sub {
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}




/*
    ==========================
    END CHAT WIDGET STYLES
    ==========================
*/