body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  font-size: 2rem;
}

.subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 20px;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

textarea {
  width: 95%;
  height: 140px;
  border-radius: 10px;
  border: none;
  padding: 12px;
  margin-bottom: 15px;
  background: #0f172a;
  color: white;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.primary {
  background: #3b82f6;
  color: white;
}

.secondary {
  background: #334155;
  color: white;
}

.upload-box {
  display: block;
  padding: 12px;
  text-align: center;
  border: 2px dashed #475569;
  border-radius: 10px;
  margin: 10px 0;
  cursor: pointer;
}

.divider {
  text-align: center;
  margin: 10px 0;
  color: #64748b;
}

.result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
}

.result.low { background: #064e3b; }
.result.medium { background: #78350f; }
.result.high { background: #7f1d1d; }

.score {
  font-size: 1.5rem;
  font-weight: bold;
}

.loading {
  text-align: center;
  color: #94a3b8;
}

.advice {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

details {
  margin-top: 15px;
}

pre {
  white-space: pre-wrap;
  font-size: 0.9rem;
}