/* Container */
.container {
  /*max-width: 600px;*/
  margin: 50px auto;
  padding: 20px;
  background-color: #2C2F33;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Title */
.title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #40444B;
  color: #FFFFFF;
  cursor: pointer;
  margin: 0 5px;
  font-size: 1rem;
}

.tab:hover {
  background-color: #5865F2;
}

.active-tab {
  background-color: #5865F2;
  font-weight: bold;
}

/* Tab content */
.tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.text-area {
  width: 100%;
  height: 150px;
  border-radius: 5px;
  border: none;
  padding: 10px;
  font-size: 1rem;
  background-color: #40444B;
  color: #FFFFFF;
  resize: none;
}

/* File upload */
.file-label {
  font-size: 1rem;
  margin-bottom: 10px;
}

.file-input {
  border: none;
  background-color: #5865F2;
  color: #FFFFFF;
  padding: 8px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.file-input:hover {
  background-color: #40444B;
}

/* Prompt section */
.prompt-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.prompt-label {
  margin-bottom: 10px;
  font-size: 1rem;
}

.prompt-select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #40444B;
  color: #FFFFFF;
}

/* Analyze button */
.analyze-button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: #5865F2;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.analyze-button:hover {
  background-color: #40444B;
}

/* Loader */
.loader {
  margin: 10px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #5865F2;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Results */
.result-section {
  margin-top: 20px;
  padding: 15px;
  background-color: #40444B;
  border-radius: 5px;
  color: #FFFFFF;
  white-space: pre-wrap;
  word-wrap: break-word;
}