body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1020;
  color: #f5f5f5;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 24px;
  background: #141b2f;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

h1 {
  margin-top: 0;
  font-size: 1.9rem;
}

.subtitle {
  color: #c0c6e0;
  margin-bottom: 18px;
}

/* Inputs */

.input-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-card {
  background: #0d1324;
  border-radius: 10px;
  border: 1px solid #2c3554;
  padding: 12px;
}

textarea {
  width: 100%;
  background: #050816;
  color: #f5f5f5;
  border: 1px solid #2c3554;
  border-radius: 8px;
  padding: 8px;
  resize: vertical;
  font-size: 0.95rem;
}

/* Controls */

.controls {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}

button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: #4c6fff;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

button:hover {
  background: #3453e6;
}

/* Status */

.status {
  margin-top: 8px;
  font-size: 0.9rem;
}

.status-info {
  color: #ffce56;
}

.status-ok {
  color: #8be48b;
}

.status-warn,
.status-error {
  color: #ff8080;
}

/* Results */

.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.result-card {
  background: #0d1324;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #2c3554;
}

.overall-label {
  font-size: 1.05rem;
  font-weight: 600;
}

.overall-explanation {
  margin-top: 6px;
  color: #d3dbff;
  font-size: 0.95rem;
}

.placeholder {
  color: #a3abcd;
}

/* Score box */

.score-box {
  margin-top: 6px;
  font-size: 0.95rem;
}

.score-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.score-label {
  color: #d3dbff;
}

.score-value {
  font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {
  .input-section {
    grid-template-columns: 1fr;
  }

  .results {
    grid-template-columns: 1fr;
  }
}
.mode-switch {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mode-switch button {
  padding: 8px 14px;
  border-radius: 8px;
  background: #1f2840;
  color: white;
  border: 1px solid #2c3554;
}

.mode-switch button.active {
  background: #4c6fff;
  border-color: #4c6fff;
  font-weight: 600;
}
