@import url("https://fonts.googleapis.com/css2?family=Sen:wght@400;700;800&display=swap");

body{
  font-family: "Sen", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.btn-chat {
  width: 45px;
  height: 45px;
  background-color: rgb(255, 133, 27);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #fff;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
}

.btn-chat:hover {
  color: #fff;
  background-color: #CC6B16;
}

.chat {
  width: 400px;
  height: 600px;
  background-color: #ECF0F5;
  display: none;
  /* justify-content: center; */
  /* align-items: center; */
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.chat-header {
  background-color: #3C8CBB;
  width: 100%;
  color: white;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  border-radius: 5px 5px 0px 0px;
  box-sizing: border-box;
}

.chat-header i {
  margin-right: 10px;
  color: white;
}

.chat-ocultar {
  margin-top: 0px;
  color: white;
  cursor: pointer;
  float: right;
}

.chat-ocultar i {
  margin-right: 0;
}

.chat-footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  display: flex;
}

.chat-footer input {
  flex: 1;
  border-width: 1px;
  border-color: gray;
 width: calc(100% - 90px);
 margin: 0;
 margin-right: -4px;
 height: 40px;
 padding-left: 10px;
 padding-right: 10px;
 font-size: 16px;
}

.chat-btn-send {
  background-color: #00A65A;
  color: white;
  padding: 10px;
  border: 0;
  margin: 0;
  width: 90px;
  font-size: 18px;
}

.chat-btn-send:hover {
  background-color: #037d46;
}

.chat-btn-send:disabled  {
  background-color: #6cab8e;
}

.chat-content {
  font-size: 16px;
  padding: 10px;
  height: calc(100vh - 160px);
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  margin-top: 55px;
}

.chat-content::-webkit-scrollbar-thumb {
  background-color: #d7d7d7;
  border-radius: 5px;
}

.chat-content::-webkit-scrollbar, html::-webkit-scrollbar {
  width: 10px;
}

.chat-user{
  font-size: 14px;
  color: gray;
}

.chat-date{
  font-size: 14px;
  color: gray;
  float: right;
}

.chat-text {
  background-color: black;
  color: white;
  border-radius: 5px;
  position: relative;
  padding: 5px 10px;
  border: 1px solid black;
  margin: 0px 0px 20px 50px;
}

.chat-text:after, .chat-text:before {
  position: absolute;
  right: 100%;
  top: 15px;
  border: solid transparent;
  border-right-color: black;
  content: ' ';
  height: 0;
  width: 0;
  pointer-events: none;
  box-sizing: border-box;
  border-width: 6px;
  margin-top: -5px;
}

.chat-text-2 {
  /* background-color: #3C8DBC; */
  background-color: black;
  color: white;
  border-radius: 5px;
  position: relative;
  padding: 5px 10px;
  /* border: 1px solid #3C8DBC; */
  border: 1px solid black;
  margin: 0px 50px 20px 0px;
}

.chat-text-2:after, .chat-text-2:before {
  position: absolute;
  left: 100%;
  top: 15px;
  border: solid transparent;
  /* border-left-color: #3C8DBC; */
  border-left-color: black;
  content: ' ';
  height: 0;
  width: 0;
  pointer-events: none;
  box-sizing: border-box;
  border-width: 6px;
  margin-top: -5px;
}

.link_montado {
  color: white;
  text-decoration: underline;
}

.link_montado:hover, .link_montado:active {
  text-decoration: underline;
  font-weight: bold;
}

.chat-img {
  border-radius: 50%;
  float: left;
  width: 40px;
  height: 40px;
}

.chat-img-2 {
  border-radius: 50%;
  float: right;
  width: 35px;
  height: 35px;
}

/* login */

.login-container {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  height: 100vh;
}

.login-box {
  padding: 50px;
  font-size: 16px;
  border: 1px solid #ccc; 
  border-radius: 4px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-box .login-box-logo {
  font-size: 20px;
  padding: 10px;
  text-align: center;
}

.login-box form {
  margin-top: 30px;
}

.login-box input {
  box-sizing: border-box; 
    width: 100%;
    padding: 10px;
    margin-bottom:20px;
    border: 1px solid #ccc; 
    border-radius: 4px;
    font-size: 16px; 
}

.login-box input[type="submit"] {
  background-color: #4CAF50; 
  color: white; 
  border: none; 
  padding: 10px 20px; 
  text-align: center; 
  text-decoration: none; 
  display: inline-block; 
  font-size: 18px; 
  margin-top: 10px;
  cursor: pointer; 
  border-radius: 4px;
}

.login-box input[type="submit"]:hover {
  background-color: #45a049;
}

code {
  background-color: gray;
  border-radius: 3px;
  font-family: courier, monospace;
  padding: 0 3px;
}

.logo {
  width: 100%; 
  position: fixed; 
  top: 0; 
  z-index: 1000; 
  background-color: white;
}

.logo div {
  font-size: 20px;
  padding: 20px
}

/* Google and Microsoft login */

.g-signin2, .ms-signin {
  width: 100%;
  margin-top: 10px;
}
.g-signin2 > div, .ms-signin > button {
  margin: 0 auto;
  width: 100% !important;
}
.g-signin2 .abcRioButton {
  width: 100% !important;
}