html, body, #root, .App {
  height: 100%;
}
.App {
  display: flex;
  flex-direction: column;
}
/* Add background color to the body */
body {
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  color: white;
}

/* Remove border color from the response list container */
#response-list {
  border: none;
  overflow-y: auto;
  flex: 1 1;
  flex-direction: column;
  align-self: center;
  width: 90%;
  margin: 10px 0;
}

.chatgpt-response {
  background-color: #e0e0e0;
  color: black!important;
}

.my-question {
  background-color: #404040;
  color: white!important;
}
/* Change background color of the input container */
#input-container {
  /* width: 80vh; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #e0e0e0;
  border-color: rgba(32,33,35,.5);
  border-radius: 5px;
  margin: 10px 10vh;
}


/* Remove background color and add an SVG background for the submit button */
#submit-button {
  background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='blue' d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/></svg>") no-repeat center center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#regenerate-button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 10px;
}

#regenerate-response-button {
  color: white;
  border: none;
  background: #10A37F;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
}

.loading {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

#model-select-container {
  margin: 10px 200px;
  color: white;
}

#model-select-container select {
  background: transparent;
  border: none;
  outline: none;
  color: white;
}

#model-select-container select option:not(:checked) {
  background: rgba(32,33,35,.8);
}

#model-select-container select option {
  background: rgba(32,33,35,.5);
}




.loading-indicator {
  display: flex;
  margin-left: 20px;
  /* justify-content: center; */
  align-items: center;
  /* height: 100vh; */
  /* width: 100vw; */
  /* background-color: black; */
}

.loading-spinner {
  /* width: 50px;
  height: 50px; */
  /* border-radius: 50%; */
  /* border: 2px solid #ccc; */
  /* border-top: 2px solid #333; */
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-spinner-inner {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
}

.loading-spinner-inner::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity: 0.5;
}