body {
  font-family: 'Inter', sans-serif;
  background: #eef2f7;
  color: #222;
  margin: 0;
  padding: 2rem;
}

.container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

header h1 {
  font-size: 2rem;
  margin: 0;
}

.subtitle {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background: #5c6bc0;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.5rem;
  min-width: 120px;
}

button#clearBtn {
  background: #e0e0e0;
  color: #333;
}
button#clearBtn:hover {
  background: #bdbdbd;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.placeholder {
  color: #888;
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
}

.model-note {
  background: #fff3cd;
  color: #856404;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ffeeba;
}

.output {
  margin-top: 2rem;
}

.insight-card {
  background: #f9f9f9;
  border-left: 4px solid #5c6bc0;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  opacity: 1;
  transform: translateY(0);
}

.insight-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #333;
}

.insight-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

footer a {
  color: #5c6bc0;
  text-decoration: none;
}

.badge {
  margin-top: 1rem;
  text-align: center;
}

/* 🔄 Loading Spinner */
#loader {
  border: 6px solid #eee;
  border-top: 6px solid #5c6bc0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 1rem auto;
}

.hidden {
  display: none;
}

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