/* styles.css */

body{
  position: fixed;
  width: 100%;
  background-color: black;
}

.lang-btn {
  padding: 10px;
  width: 90px;
  height: 90px;
}

#da-kiosk{
  position: fixed;
    bottom: 0;
    align-items: flex-end;
    height: 100%;
}

.lang-btn.select {
  filter: none;
  padding: 0;
  border: 13px solid white;
  border-radius: 200px;
}

.message-link {
  pointer-events: auto;
  color: white;
  width: 90px;
  height: 90px;
  text-decoration-line: underline;
}

.qrplace{
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1;
  padding-top: 7px;
  background-color: white;
  border: 2px solid #215197d4;
  border-radius: 15px;
  text-align: center;
  width: 200px;
}

#qrtitle{
  font-size: 16px;
  color: #215197;
  font-weight: 500;
  padding-left: 10px;
  padding-right: 10px;
}

@media screen and (max-width: 1079px) {
  .lang-btn {
      width: 50px;
      height: 50px;
      padding: 5px;
  }
  .lang-btn.select {
      border: 6px solid white;
  }
}


.status-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.status, .speaking-status {
  padding: 10px;
  border-radius: 5px;
}

.status.connected {
  background-color: #d1e7dd;
  color: #0f5132;
}

.status:not(.connected) {
  background-color: #f8d7da;
  color: #842029;
}

.speaking-status.speaking {
  background-color: #cff4fc;
  color: #055160;
}

.speaking-status:not(.speaking) {
  background-color: #e2e3e5;
  color: #41464b;
}

.button {
  background-color: transparent;
  padding: 5px!important;
  
}

.chat-container {
  width: 100%;
  height: 700px;
  overflow-y: auto;
  border: 0;
  padding-left: 40px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(0deg, rgb(3 3 3) 35%, rgba(0, 0, 0, 0) 85%);
  mask-image: linear-gradient(0deg, rgb(3 3 3) 80%, rgba(0, 0, 0, 0) 95%);
  padding-right: 40px;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.chat-container .message.user:first-child{
  margin-top: auto;
}
.chat-container .message.agent:first-child{
  margin-top: auto;
}
@media screen and (max-width: 1079px) {
  .chat-container {
      padding-left: 20px;
      padding-right: 20px;
      height: 600px;
  }
  .qrplace{
    top: 100px;
    width: 180px;
  }
}
.message {
  display: flex;
  margin-bottom: 10px;
}

.message.user {
  justify-content: flex-end;
  text-align: right;
}

.message.agent {
  justify-content: flex-start;
  text-align: left;
}

.message-text {
  max-width: 82%;
  padding: 10px;
  border-radius: 0px 20px 20px 20px;
  font-size: 18px;
}

.message-text img{
  width: 20px;
}

.message.user .message-text {
  background-color: #134445;
  padding: 20px;
  color: #ffffff;
  font-size: 19px;
  color: white;
  border-radius: 20px 0px 20px 20px;
  font-family: 'Roboto';
  padding-left: 30px;
  padding-right: 30px;
  font-weight: 500;
}

.message.agent .message-text {
  background-color: white;
  padding: 16px;
  color: #41464b;
  font-size: 19px;
  font-family: 'Roboto';
  padding-left: 30px;
  padding-right: 30px;
  font-weight: 500;
}


.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #333;
}

.status-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.status, .speaking-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.status {
  background-color: #ff4444;
  color: white;
}

.status.connected {
  background-color: #00C851;
}

.speaking-status {
  background-color: #eee;
}

.speaking-status.speaking {
  background-color: #33b5e5;
  color: white;
}


.button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#mic-close-effect {
  width: 300px;
  height: 300px;
  background-color: #ff0000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s ease;
  opacity: 1;
  position: relative;
  background: radial-gradient(circle, rgb(241, 0, 0) 30%, rgba(0,0,0,0) 49%);;
}

.da-start-call{
  width: 300px;
  height: 90px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, rgba(37,211,102,1) 0%, rgba(98,251,131,1) 100%);
  border: none;
  position: absolute;
  border-radius: 60px;
  font-size: 32px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  display: flex;
  z-index: 5;
  text-decoration: none;
  color: #08312C;
  cursor: pointer;
  margin-bottom: 30px;
  overflow: hidden;
}

.da-start-call img{
  width: 36px;
  margin-right: 20px;
}

.da-start-call::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 110px;
  background: #f3f3f3;
  box-shadow: 0 0 10px #FFF;
  filter: blur(5px);
  opacity: 0.7;
  top: -30px;
  transition: 0.7s;
  transform: rotate(-20deg) translateX(-120px);
  animation: hoverEffect 4s infinite ease-in-out;
}

.da-start-call:hover{
background-color: #54d75d;
}

@keyframes hoverEffect {
0% {
  transform: rotate(-20deg) translate(-100px, -10px);
}
25% {
    transform: rotate(-20deg) translate(180px, 70px);
}
100% {
  transform: rotate(-20deg) translate(180px, 70px);
}
}
.da-start-call-close{
  width: 300px;
  height: 90px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, rgba(250,42,49,1) 0%, rgba(255,99,104,1) 100%);
  position: absolute;
  border-radius: 60px;
  font-size: 32px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  display: flex;
  z-index: 5;
  text-decoration: none;
  color: #08312C;
  cursor: pointer;
  margin-bottom: 30px;
  transition: background-color 300ms;
  border: none;
}


.da-start-call-close img{
  width: 36px;
  margin-right: 20px;
}

.da-call-text {
  margin: 0;
  text-decoration: none;
}


.ready-messages-container{
  display: flex;
  justify-content: flex-start;
  width: calc(100% - 80px);
    margin-left: 40px;
    margin-right: 40px;
    transition: bottom 0.3s ease;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 10px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(3 3 3) 0%, rgb(3 3 3) 95%, rgba(0, 0, 0, 0) 99%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(3 3 3) 0%, rgb(3 3 3) 95%, rgba(0, 0, 0, 0) 99%);
}

.ready-messages-container .ready-message-button:last-child{
  margin-right: 0;
}

.ready-message-button{
  padding: 0 30px;
  min-width: 160px;
  height: 60px;
  background-color: #215197;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 70px;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-right: 20px;
  transition: box-shadow 0.1s ease-in, transform 0.1s ease-in;
  box-shadow: rgba(8, 32, 68, 0.1) 0px 5px 12px -3px;
}

.ready-message-button-test{
  background-color: white;
  color: black;
  border: 1px solid #215197;
}


.aiinput{
  border-radius: 70px;
    font-size: 18px;
    font-weight: 400;
}
.aibutton{
  border-radius: 70px !important;
}

.keyarea{
  bottom: 0;
    position: fixed;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.keyarea::after {
  content: '';
  position: absolute;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 200px;
  border-radius: 0 0 8px 8px;
}
.keyareak1{
  margin-bottom: 120px;
  transition: margin-bottom 0.3s ease;
  padding: 11px 40px 20px;
}

.keyboard-active .keyareak1{
  margin-bottom: 240px;
}

.flagarea{
  position: relative;
  justify-content: space-between;
  align-items: center;
}

#buttonarea{
  display: flex; 
  justify-content: center; 
  overflow: hidden; 
  height: 90px; 
  width: 90%;
}

.rf-button{
  min-height: 90px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.btn-flag{
  background: white;
  border-radius: 90px;
  height: 90px;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 24px;
  font-weight: 500;
  border: none;
}
.btn-flag img{
  width: 64px;
  height: 64px;
}
.btn-flag::after{
  content: none !important;
}
.da-dropdown-menu{
  min-width: 90px;
  border-radius: 70px;
  padding: 10px;
  text-align: center;
  margin-bottom: 20px !important;
  flex-direction: column;
  align-items: center;
}
.da-dropdown-menu.show{
  display: flex !important;
}
.da-dropdown-menu li{
  margin-bottom: 15px;
}
.da-dropdown-menu li:last-child{
  margin-bottom: 0;
}
.da-dropdown-menu li a{
  border: 2px solid rgba(0, 0, 0, 0.1);
  min-width: 70px;
  min-height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.da-dropdown-menu li a img{
  width: 60px;
  height: 60px;
}

.message.user .message-text p{
  margin-bottom:0;
}


@media screen and (max-width: 1079px) {
  .ready-messages-container{
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }
  #da-kiosk{
    overflow: hidden;
  }
  .keyareak1{
    margin-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .btn-flag{
    width: 60px;
    height: 60px;
    font-size: 22px;
    padding: 0 10px;
  }
  .btn-flag img {
    width: 44px;
    height: 44px;
  }
  .da-dropdown-menu {
    min-width: 60px;
    padding: 5px;
  }
  .da-dropdown-menu li a {
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
  }
  .da-dropdown-menu li a img{
    width: 40px;
    height: 40px;
  }
  #buttonarea{
    height: 60px;
  }
  .da-start-call{
    width: 280px;
    height: 60px;
    font-size: 28px;
  }
  .da-start-call img{
    width: 30px;
    margin-right: 15px;
  }
  .da-start-call-close {
    width: 280px;
    height: 60px;
    font-size: 28px;
  }
  .da-start-call-close img{
    width: 30px;
    margin-right: 15px;
  }

  .rf-button {
    min-height: 60px;
    min-width: 60px;
    width: 60px;
    height: 60px;
    padding: 10px !important;
  } 
  .rf-button img {
    width: 40px;
  }
  .ready-message-button {
    padding: 0 20px;
    min-width: 130px;
    height: 45px;
    font-size: 16px;
  }
  .aiinput {
    height: 50px;
    font-size: 16px;
  }
  .aibutton{
    width: 60px !important;
    height: 40px !important;
  }
}