html {
    font-size: 93.75%;
}

body {
    /* background-image: url("./src/assets/image.png");
    background-repeat: no-repeat;
    background-size: cover; */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    line-height: 1.5;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px;
    margin: 0px;
    border-style: none;
    width: 100%;
    height: 100%;
}

.main {
    z-index: 9999;
    position: fixed;
    width: 425px;
    height: 617px;
    bottom: 85px;
    right: 28px;
}

.SCG-chat {
    width: 100%;
    position: relative;
    height: 100%;
}

.SCG-chat-container{
    position: absolute;
    right: -2px;
    bottom: -2px;
    opacity: 0;
    scale: .5;
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.SCG-chat__window{
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    transition: all 0.1s ease;
}

.SCG-chat__window--message{
    background-color: #fff;
    border: 1px #707070;
    box-shadow: 0 0 6px 2px rgba(6, 37, 93, .5);
}
.SCG-chat__spinner-wrapper{
    height: calc(100% - 115px);
}
.SCG-chat__spinner-content{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;flex-direction: column;
    line-height: 3;
    height: inherit;
}

.SCG-chat__spinner-content .spinner {
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid #004693;
    border-radius: 50%;
    border-right-color: rgba(255, 255, 255, 0.7);
    animation: spinner-anim 0.8s linear infinite;
  }

  .SCG-chat__spinner-content .text{
    color: #004693;
    font-size: 1rem;
    font-weight: 600;
  }
  
  @keyframes spinner-anim {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
  }

.SCG-chat-container.show-SCG-chat__window{
    scale: 1;
    opacity: 1;
    z-index: 2;
    border: 1px solid;
}

.SCG-chat__header{
    padding: 5px 20px 0;
    font-family: inherit;
    font-style: normal;
    background: none;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    font-size: 16px;
    color: #004693;
    font-weight: 700;
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.SCG-chat__body{
    /* position: relative; */
    background: rgb(250, 250, 250);
    height: calc(100% - 73px);
}
.SCG-chat__body__content{
    background: rgb(250, 250, 250);
    height: calc(100% - 73px);
    /* position: absolute; */
    left: 0;
    padding: 1em 1em;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.SCG-chat__body__content--message{

}

.SCG-chat__window--message{
    z-index: 1;
}
.SCG-chat__window--idelModal, .SCG-chat__window--sessionModal, .SCG-chat__window--manual-close{
    display: none;
    z-index: 2;
    /* opacity: .8; */
    background-color: #000;
}

.SCG-chat__idel-modal__content,.SCG-chat__session-modal__content,.SCG-chat__manual-close__content{
    position: absolute;
    left: 36px;
    width: 82%;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    padding: 30px 20px;
    text-align: center;
    z-index: 999;
    border-radius: 20px;
    background: #fff;
    margin: 3.5em auto;
}

.SCG-chat__session-modal__close.btn,.SCG-chat__manual-close__close.btn{
    font-weight: 700 !important;
    font-size: 16px !important;
    width: 136px !important;
    height: 40px !important;
}

.SCG-chat__idel-modal__close.btn{
    font-weight: 700 !important;
    font-size: 16px !important;
    width: 160px !important;
    height: 40px !important;
}

.SCG-chat__session-modal__close.btn-outline-primary, .SCG-chat__idel-modal__close.btn-outline-primary,.SCG-chat__manual-close__close.btn-outline-primary{
    color:  #004693 !important;
    border-color: #004693 !important;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer !important;
}

.SCG-chat__session-modal__close.btn:hover, .SCG-chat__idel-modal__close.btn:hover, .SCG-chat__manual-close__close.btn:hover {
    color: #fff !important;
    background: #204d74 !important;
}


.SCG-chat__action{
    /* padding: 0 20px 10px; */
    font-style: normal;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .125);
    height: 4.75em;
    border-bottom-right-radius:20px ;
    border-bottom-left-radius:20px ;
}

.SCG-chat__action__message-us-input-field{
    height: 3.14em;
    outline: none;
    border: none;
    /*border: 1px solid #e0e0e0;*/
    /* width: 100%; */
    flex-grow: 1;
}

.input-field-wrapper{
    margin-left: 1.06em;
}

.input-group__details{
    position: relative;
    min-height: 1px;
    padding: 0;
}

.input-group__details:before {
    position: absolute;
    content: "";
    display: block;
    bottom: 0;
    width: 100%;
    height: 2px;
    border: 1px solid;
    transition: all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transform: scale(0);
}


/* .input-field-wrapper:hover .input-group__details{
    background-color: rgba(0, 0, 0, .87);
} */

.input-field-wrapper:hover .input-group__details:before {
    color: #004693 ;
    transform: scale(1);
  }

.SCG-chat__action__message-us-icon,.SCG-chat__action__download-icon{
    font-size: 1.5em;
}

#send-btn:is(:disabled),#downloadBtn:is(:disabled){
   border: none !important;
}

#send-btn,#downloadBtn{
    padding: 0.5rem !important;
}

#send-btn:not(:disabled) .SCG-chat__action__message-us-icon{
    color: #004693;
}

#downloadBtn:not(:disabled) .SCG-chat__action__download-icon{
    color: #004693;
}

.SCG-chat__header-action-icon{
    cursor: pointer;
}

.SCG-chat__header-action-icon--minimize{
    margin-right: 1.25em;
}


.SCG-chat__action__message-us{
    height: 100%;
    margin-top: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-messanger {
    margin: 0px 0px 4px;
    padding: 6px 0px 0px;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    scroll-margin-bottom: 18px;
    box-sizing: border-box;
}

.cx-messanger-bot-content {
    display: flex;
    justify-content: flex-start;
}

.cx-messanger-user-content {
    display: flex;
    justify-content: flex-end;
}

.cx-messanger-bubble {
    padding: 12px;
    width: auto;
    max-width: 75%;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cx-outbound {
    color: rgb(0, 0, 0);
    border-radius: 0px 8px 8px;
    background: #f3f3f3;
}

.cx-inbound {


    border-radius: 8px 0px 8px 8px;
    background: rgb(4, 54, 115);
    color: rgb(255, 255, 255);
}

.cx-bot-icon {
    margin: 5px 5px 0 0;
    height: 40px;
    width: 40px;
}
.human-icon{
    height: 40px;
    font-size: 2.5em;
    width: 45px;
    color: #004693;
}
/*.chat-toggler {
    padding: 8px 15px 4px;
    border: 1px solid #004693;
    box-shadow: 0 0 6px 2px rgba(6, 37, 93, .5);
    transition: box-shadow .2s ease-in-out;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
}

.chatBot-toggler__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    background: none;
    border: none;
    color: #004693;
    font-size: 1.2rem;
    font-weight: 600;
}*/

.chat-toggler {
    position: absolute;
    right: 0;
    bottom: 0;
}

.chatBot-toggler__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    padding: 8px 15px 4px;
    border: 1px solid #004693;
    box-shadow: 0 0 6px 2px rgba(6, 37, 93, .5);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.chatBot-toggler__btn:not(:disabled){
    background-color: #fff;
    color: #004693;
    transition: box-shadow .2s ease-in-out;
}

.chatBot-toggler__btn__img {
    margin-right: 0.2em;
}

.cx-outbound-quick-replay {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cx-outbound-quick-replay.cx-outbound-quick-replay--helpful{
    display: flex;
}

.cx-outbound-quick-replay-btn-primary:not(:disabled){
    background-color: #004693 !important;
}

.cx-outbound-quick-replay-btn:disabled{
    background: #d5d5d5;
    color: #9e9e9e;
}

.cx-outbound-quick-replay-btn:not(:disabled){
    color: white !important;
}

.cx-outbound-quick-replay-btn {
    display: block;
    text-transform: none !important;
    border-radius: 20px;
    font-weight: 100;
    margin: 0px 4px 4px 0px !important;
    font-size: 1em;
    min-width: 44px;
    max-width: 260px;
    padding: 7px 15px;
    -webkit-box-align: center;
    color: inherit;
    height: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-pack: center;
    transition: .3s cubic-bezier(.25, .8, .5, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}

.cx-outbound-helpful-btn-success{
    border: 1px solid #266D2F;
    border-radius: 20px;
    color: #266D2F !important;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 14px;
    box-shadow: none !important;
}

.cx-outbound-helpful-btn-success i, .cx-outbound-helpful-btn-danger i{
    font-size: 18px;
    padding-right: 8px;
}

.cx-outbound-helpful-btn-danger{
    border: 1px solid #AB0000;
    border-radius: 20px;
    color: #AB0000 !important;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 14px;
    box-shadow: none !important;
    margin: 0 8px;
}

.cx-outbound-helpful-btn .btn__content{
    -webkit-box-align: center;
    align-items: center;
    color: inherit;
    display: flex;
    height: 100%;
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    justify-content: center;
    border-radius: inherit;
    flex: 1 0 auto;
    margin: 0px auto;
    padding: 0px 9px;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    white-space: nowrap;
}

.start-new-wrapper__content{
    margin-bottom: 0.5rem;
}

/* three dot spinner */
.cx-dot-spinner {
    display: inline-flex;
    justify-content: start;
    align-items: end;
    height: 40px;
    color: rgb(0, 0, 0);
    background: rgb(236, 236, 236);
            width: 70px; /* Total width of the spinner */
            animation: shrink 1.4s infinite ease-in-out;
}

.dot-spinner {
    width: 5px;
    border: 1px solid;
    margin: 0 5px;
    border-radius: 50%;
    background-color: black;
    
}

.bounce-spinner{
     animation: bounce 1.4s infinite ease-in-out both; 
}

.dot-spinner:nth-child(1) {
    /* animation-delay: -0.32s; */
}

.dot-spinner:nth-child(2) {
    /* animation-delay: -0.16s; */
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(1); /* Shrinks the dots */
    }
    40% {
        transform: scale(0);
    }
}

/* Keyframes for shrinking the entire spinner */
@keyframes shrink {
    0%, 100% {
        width: 60px; /* Initial width of the spinner */
    }
    40% {
        width: 50px; /* Shrinks the width of the spinner */
    }
}

@media screen and (min-width: 711px){
    .cx-outbound-helpful-btn{
        height: 40px;
    }
}

@media screen and (max-width: 500px),
screen and (max-device-width: 500px),
screen and (max-device-width: 500px) and (orientation: landscape), screen and (max-device-height: 428px) and (orientation: landscape), screen and (max-device-width: 711px) and (orientation: landscape) {
    .main {
        height: 100% !important;
        width: 100% !important;
        left: 0px !important;
        right: 0px !important;
        bottom: 0px !important;
    }
}