/* static/css/styles.css - simple, modern-ish styling */
:root{
  --bg:#0f1724;
  --card:#0b1220;
  --muted:#9aa6b2;
  --accent:#6ee7b7;
  --danger:#ff8b8b;
  --glass: rgba(255,255,255,0.03);
  --radius:12px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#071020,var(--bg));
  color: #e6eef3;
  padding:32px;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:900px;
  margin:0 auto;
}

header h1{margin:0 0 8px 0;font-weight:700}
.subtitle{color:var(--muted);margin:0 0 24px 0}

.controls{
  background:var(--card);
  padding:16px;
  border-radius:var(--radius);
  box-shadow: 0 6px 18px rgba(2,6,23,0.6);
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.controls input{
  background:var(--glass);
  border:1px solid rgba(255,255,255,0.03);
  color:inherit;
  padding:10px 12px;
  border-radius:10px;
  min-width:220px;
}

.controls button{
  border:0;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  background:linear-gradient(180deg,var(--accent), #3dd7a6);
  color:#012;
  font-weight:600;
  box-shadow:0 4px 8px rgba(0,0,0,0.4);
}

.controls .quick button{
  background:transparent;
  color:var(--muted);
  border:1px dashed rgba(255,255,255,0.03);
  padding:8px 10px;
  font-weight:600;
}

.results{
  margin-top:18px;
}

.output{
  margin-top:8px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:10px;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  color:var(--accent);
  font-weight:700;
  word-break:break-word;
}

.flag {
  background: rgba(255,255,255,0.03);
  padding:6px 10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.03);
  color:var(--danger);
  font-weight:800;
}
