body {
  background-color: #121212;
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin: 0;
}

.card {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 20px;
  width: 380px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

button {
  background-color: #2980b9;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background-color: #1f618d;
}

textarea {
  width: 100%;
  min-height: 80px;
  margin-top: 5px;
  border-radius: 6px;
  border: none;
  padding: 5px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  resize: vertical;
}

img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

#progressBar {
  background: #333;
  height: 8px;
  border-radius: 4px;
  margin: 10px 0;
  overflow: hidden;
}

#progress {
  height: 8px;
  background: #4caf50;
  width: 0;
}

#result {
  background: #1f1f1f;
  padding: 15px;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 10px;
  width: 100%;
}

#result table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
}

#result table th,
#result table td {
  border: 1px solid #444;
  padding: 4px 6px;
  text-align: left;
}

#result h3,
#result h4 {
  margin: 10px 0 5px;
}

#result ul {
  margin-left: 20px;
}
#result .ai-suggestions-box {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  max-height: 250px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #ddd;
}


#result .ai-suggestions-box h4 {
  margin-top: 0;
  font-size: 14px;
  color: #fff;
}

#result .ai-suggestions-box p {
  margin: 0 0 5px 0;
}

#questionArea h4 {
  margin: 10px 0;
}

#questionArea button {
  margin-right: 5px;
}

#livePercent {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
}
