
body {
  font-family: Arial, sans-serif;
  background-color: #d1d7df;
  color: #000000;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 1.2em;
}

input, button {
  margin: 10px;
  border: none;
  border-radius: 10px; 
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

#questionInput {
  width: 80%; 
  height: 40px;
  background-color: #404950; 
  color: #ffffff;
  padding-left: 15px;

}

#sendButton {
  background-color: #3a438a; 
  color: #ffffff; 
  padding: 10px 20px; 
  cursor: pointer; 
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#sendButton:hover {
  background-color: #5462b4; 
  transform: scale(1.05); 
}


#fileInput{
  margin: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  position: relative;  
}

.custom-file-upload {
  display: inline-block;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f8f8f8;
  cursor: pointer;
  font-size: 16px;
  margin: 10px;
}

.custom-file-upload:hover {
  background-color: #f0f0f0;
}


#output {
  width: 80%;
  height: 300px;
  padding: 10px;
  overflow: auto;
  margin-top: 20px;
  color: #000000;
  background-color: #e5e8ea;
  border-radius: 10px; 
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  scrollbar-width: thin; 
  scrollbar-color: #5462b4 #23272a;
  color: #000000;
  font-weight: bold;
  align-items: center;
  font-size: 1.6em;
}

#output::-webkit-scrollbar {
  width: 10px; 
}

#output::-webkit-scrollbar-thumb {
  background-color: #5462b4; 
  border-radius: 5px;
}

#output::-webkit-scrollbar-track {
  background-color: #23272a; 
  border-radius: 5px;
}

.title {
  text-align: center;
  margin-bottom: 20px;
}


#title {
  text-align: center;
  font-size: 3em;
  background: linear-gradient(90deg, #bd93f9, #ff79c6, #ff5555, #ffb86c, #f1fa8c,#ffb86c,#ff5555,#ff79c6,#bd93f9);
  background-size: 300% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient 10s ease infinite; 
  margin-bottom: -3px !important;
  position: relative;
  z-index: 1;
  font-weight: bold;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


p {
  color: #000000;
  font-weight: bold;
  align-items: center;
}



#apiKeyInput {
  margin: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  position: relative; 
}

#togglePasswordVisibility {
  right: 10px; 
  cursor: pointer;
}


@media only screen and (max-width: 600px) {
  #output, #questionInput {
      width: 90%; 
  }
}


#modelSelect {
  font-family: Arial, sans-serif;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #cdcfd0;
  color: #333;
  width: 200px;
}

#modelSelect option {
  padding: 5px;
}

.github-link {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  padding: 10px 20px; 
  background-color: #333;
  color: #fff; 
  text-align: center; 
  border-radius: 5px; 
  text-decoration: none; 
  font-weight: bold; 
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.github-link:hover {
  background-color: #555; 
  transform: scale(1.05); 
}


.api-link {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 20px; 
  background-color: #333;
  color: #fff; 
  text-align: center; 
  border-radius: 5px; 
  text-decoration: none; 
  font-weight: bold; 
  transition: background-color 0.3s ease, transform 0.2s ease;

}

.api-link:hover {
  background-color: #555; 
  transform: scale(1.05); 
}


#copyButton {
  padding: 10px 20px;
  background-color: #6c9cb5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.2em;
  font-weight: bold;
}

#copyButton:hover {
  background-color: #90c4e2;
  transform: scale(1.05); 
}


#liveTranscription {
  color: #000000;
  font-weight: bold;
  align-items: center;
  font-size: 2.5em;
}
#liveTranscription {
  position: absolute;
  top: 50%;
  left: 50%; 
  transform: translateX(-50%); 
  background-color: rgba(255, 255, 255, 0.5); 
  padding: 10px;
  border-radius: 5px;
}



.dark-theme {
  background-color: #23272a;
  color: #ffffff;
}

.dark-theme input,
.dark-theme button {
  box-shadow: 5px 5px 15px rgba(255, 255, 255, 0.3);
}

.dark-theme .title {
  color: #ffffff;
}

.dark-theme .title,
.dark-theme p, 
.dark-theme h1,
.dark-theme h2, 
.dark-theme h3, 
.dark-theme h4,
.dark-theme h5, 
.dark-theme h6, 
.dark-theme a, 
.dark-theme li {
  color: #ffffff;
}
.dark-theme #output {
  background-color: #333333;
}

#themeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  color: #ffffff; 
  cursor: pointer;
  z-index: 9999; 
  padding: 15px;
  font-size: 1em;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease; 
}

#themeToggle:hover {
  transform: scale(1.1); 
}

#themeToggle:active {
  transform: scale(0.9); 
}

#themeToggle {
  background-color: #333;
}

.dark-theme #themeToggle {
  background-color: #bcc2c6;
}