/*hide google translate link | logo | banner-frame */

body{

  z-index: 9724790009779558 !important;
  background-color: #e6e7e6;
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;

}

.fixed-body {
  z-index: 9724790009779558 !important;
  background-color: #e6e7e6;
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;
}

.skiptranslate .skiptranslate {
  display: none;
}

#google_translate_element .goog-te-gadget div {
  position: static;
  text-align: center;
}

/* Button */
button {
  background: #212d67;
  color: #ffffff;
  border: none;
  min-height: 35px;
  min-width: 180px;
  border-radius: 15px;
  border: 2px solid #a7a7a7;
  cursor: pointer;
}

#reload-button {
  background: #d1202f;
}

/* Body */
body {
  text-align: center;
}

.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
  display: none !important;
}
.goog-te-gadget {
  color: transparent !important;
  font-size: 0px;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.VIpgJd-ZVi9od-aZ2wEe-OiiCO {
  width: 180px;
  height: 80px;
}
#google_translate_element select {
  background: #ddcc62;
  color: #000000;
  border: none;
  min-height: 35px;
  min-width: 180px;
  border-radius: 15px;
  border: 2px solid #a7a7a7;
}

/*google stuff above*/
#chat-container {
  max-width: 600px;
  background: #ddcc62;
  margin: 0px auto;
  padding: 5px;
  overflow-y: scroll;
  max-height: 300px;
  height: 300px;
  border: 2px solid #a7a7a7; /* Border added */
  border-radius: 10px; /* Rounded corners */
}

.user-bubble {
  background-color: #d1202f;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  text-align: right;
  color: #ffffff;
}

.translated-bubble {
  background-color: #212d67;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  text-align: left;
  color: #ffffff;
}

.google-translate-container {
  text-align: left;
}

.container img {
  position: relative;
  max-width: 18%;
  max-height: 18%;
  top: -5px;
}

.goog-te-gadget div select {
  text-align: center;
}

#send-user1-button{
    background: #d1202f;
}

#input-text {
  width: 100%; /* Make it as wide as the chat box */
  max-width: 420px; /* Limit the maximum width to 400px */
  margin: 15px auto; /* Center the input text horizontally and add top margin for separation */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  padding: 8px; /* Add padding to match the chat box */
  display: block; /* Ensure it behaves as a block-level element */
  border-radius: 10px;
  border: 2px solid #a7a7a7;
}

.controls-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.user-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#lang-user1-select, #lang-user2-select {
  min-width: 180px; /* Match button width */
}