* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 520px;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

header {
  text-align: center;
  margin-bottom: 24px;
}

h1 {
  font-size: 26px;
  color: #38bdf8;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #94a3b8;
}

.input-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

label {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

.input-group {
  display: flex;
  gap: 8px;
}

input[type="text"] {
  flex: 1;
  background-color: #0f172a;
  border: 1px solid #475569;
  color: #f8fafc;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

input[type="text"]:focus {
  border-color: #38bdf8;
}

button#scan-btn {
  background-color: #38bdf8;
  color: #0f172a;
  border: none;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

button#scan-btn:hover {
  opacity: 0.9;
}

.quick-examples {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

.chip {
  background: #334155;
  color: #94a3b8;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.chip:hover {
  background: #475569;
  color: #f8fafc;
}

.result-card {
  margin-top: 15px;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
}

.hidden {
  display: none;
}

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}

#domain-display {
  font-size: 18px;
  color: #38bdf8;
  word-break: break-all;
  margin-top: 4px;
}

.risk-badge {
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  margin: 16px 0;
}

.risk-low { background-color: #15803d; color: #f0fdf4; }
.risk-med { background-color: #a16207; color: #fefce8; }
.risk-high { background-color: #b91c1c; color: #fef2f2; }

.score-container {
  text-align: center;
  margin-bottom: 16px;
  font-size: 15px;
}

.score-value {
  font-size: 22px;
  font-weight: bold;
}

.score-max {
  color: #64748b;
  font-size: 14px;
}

.reasons-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}

ul {
  padding-left: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

li {
  margin-bottom: 6px;
}