
body{
    background-color: #111b22;
    color: #fff;
    background-image: url(pag.png);
    background-size: cover;
}

textarea,
select,
input{
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem !important;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: all .15s ease-in-out;
    box-sizing: border-box;
    color: #919191 !important;
    margin-bottom: 0.6rem;
    margin-top: 0.2rem;
}
select{
    padding: 0.5rem 0.75rem !important;
}
textarea:focus,
select:focus,
input:focus{
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
    border: 1px solid #ced4da;
    outline: #919191;

}
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    border-color: #dc3545;
}


#chat_main{
width: 370px;
height: 682px;
position: fixed;
bottom: 90px;
right: 10px;
box-sizing: border-box;
display: none;
grid-template-rows: 0.2fr 5fr;
justify-content: flex-start;  
transform-origin: bottom right; 
transform: scale(0);
transition: all .3s;
}
#chat_main.ativo{
display: grid !important;
animation: scalachat 0.3s forwards;
}
@keyframes scalachat {
0%{ transform: scale(0); }
100%{ transform: scale(1); }
}
#chat_logo_container{
display: flex;
justify-content: center;
}
#chat_logo{
width: 115px;
height: 30px;
position: relative;
box-sizing: border-box;
}
#chat_logo svg{
width: 100%;
position: absolute;
top: 15px;
}
#chat_container{
width: 370px;
height: 650px;
background-color: #1d080d;
box-sizing: border-box;
display: grid;
grid-template-rows: 0.8fr 8fr 1fr;
overflow: hidden;
border-radius: 40px 40px 10px 70px;
box-shadow: 0px 3px 46px rgb(35, 8, 15, 0.3);
}
#chat_header{
position: relative;
box-sizing: border-box;
display: flex;
justify-content: space-between;
max-height: 53px;
}

#chat_foot{
position: relative;
box-sizing: border-box;
background-color: #DEDFDF;
display: grid;
grid-template-columns: 4fr 1fr;
padding:  0.5rem  0.5rem  0.5rem  1rem;
max-height: 66px;
}
#chat_foot input{
margin: 0 !important;
}
#chatbtdiv{
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
#chatbtdiv svg{
position: absolute;
width: 50%;
height: auto;
pointer-events: none;
}
#chatbtsumit {
width: 100%;
height: 100%;
background-color:#3c3c3c;
cursor: pointer;
transition: all .3s;
}
#chatbtsumit:hover {
background-color:#8F1537;
transition: all .3s;
}

#chatinput{
border-radius: 0px 0px 0px 100px;
padding-left: 2rem;
}
#chat_bot{
width: 70px;
position: fixed;
bottom: 10px;
right: 10px;
display: flex;
justify-content: flex-end;
align-items: center;
transform: scale(1);
transition: all .3s;
}
#chat_bot:hover{
transform: scale(1.2);
transition: all .3s;
}
#chat_bot:hover #chatbot_tooltip {
animation: surgtolltip .5s forwards;
display: flex;
}
@keyframes surgtolltip {
0%{opacity: 0;}
100%{opacity: 1;}    
}
#chatbot_tooltip{
position: absolute;
background-color: #8F1537;
color: #DEDFDF;
padding: 0.3rem 1.5rem;
border-radius: 50px;
right: 80px;
display: none;
flex-wrap: nowrap;
white-space: nowrap;
opacity: 0;
transition: all 0.5s;
}
#chat_bot svg{
width: 100%;
cursor: pointer;   
}
#chat_menu{
width: 35px;
height: 22px;
position: relative;
box-sizing: border-box;
/* border: 1px solid #dc3545; */
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 1rem;
margin-left: 1.5rem;
cursor: pointer;
}
.chattrace{
width: 100%;
height: 3px;
border-radius: 20px;
background-color: #DEDFDF;
}
#chat_exit{
width: 25px;
height: 25px;
position: relative;
box-sizing: border-box;
margin-right: 1.3rem;
margin-top: 1rem;
display: flex;
justify-content: center;
cursor: pointer;
}
#chat_exit svg{
width: 100%;
}
.espmres{
width: 100%;
display: flex;
justify-content: flex-end;
transform-origin: bottom right;
}

.espmres.ativo{
    transform: scale(0);
    animation: respespm .5s forwards;
    animation-delay: 0.3s;
}
.espmres.ativos{
    transform: translateX(100%);
    opacity: 0;
    animation: animacao_direita_esquerda .5s forwards;
    animation-delay: 0.3s;
}

.espmperg{
width: 100%;
display: flex;
justify-content: flex-start;
transform-origin: bottom left;
}

@keyframes respespm {
0%{transform: scale(0);}
100%{transform: scale(1);}
}

@keyframes animacao_direita_esquerda {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

.textespm{
width: 80%;
background-color: #69555b;
color: #f1f1f1;
padding: 1rem;
margin-bottom: 1rem;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-right: 0.5rem;
border-radius: 10px;
position: relative;
word-break: break-word;
}
.textespm a{
width: 90%;
background-color: #f1f1f1 ;
color:  #69555b;
padding: 0.3rem;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 0.5rem;
border-radius: 10px;
position: relative;
word-break: break-word;
text-decoration: none;
font-weight: bold;
}

.textlogo {
position: absolute;
width: 46px;
left: 0;
top: -13px;
}
.textperg{
width: 80%;
background-color: #f1f1f1;
color: #1d080d;
font-weight: bold;
padding: 1rem;
margin-bottom: 1rem;
display: flex;
justify-content: center;
margin-left: 0.5rem;
border-radius: 10px;
position: relative;
word-break: break-word;
}

#chat_body{
position: relative;
box-sizing: border-box;
border-radius: 40px 40px 0px 0px;
background-color: #fff;
height: 100%;
max-height: 100%;
overflow: hidden;
display: flex;
align-items: end;
flex-direction: column;
}
#chat_bodycontainer{
width: 100%;
max-height: 530px;
overflow-x: hidden;
overflow-y: auto;  
scroll-behavior: smooth;
}
#chat_bodycontainer::-webkit-scrollbar-track{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
#chat_bodycontainer::-webkit-scrollbar{
width: 10px;
background-color: #fff; 
}



#chat_bodycontainer::-webkit-scrollbar-thumb{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #A81836; 
border-radius: 20px;
transition: all .3s ease-in-out;
}
#chat_bodycontainer::-webkit-scrollbar-thumb:hover{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #7b182b; 
transition: all .3s ease-in-out;
}

#chat_bodycontent{
display: flex;
flex-direction: column;
width: 100%;
padding-top: 1.5rem;
}

#forPerg {
    width: 100%;
    height: 100%;
}
.imgtiping{
    width: 100px;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.redicon{fill:#8F1537;}
.cinzaicon{fill:#DEDFDF;}
.redlogo{fill:#A81836;}
.branclogo{fill:#FFFFFF;}

@media (max-width: 768px) {
body{
    background-image: url(mob.png);
}
}