/* styles.css - letisztult, modern */
:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563eb;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 10px;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{
  max-width:900px;
  margin:48px auto;
  padding:24px;
}

.title{
  margin:0 0 18px 0;
  font-size:28px;
  letter-spacing:-0.02em;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow: 0 6px 20px rgba(16,24,40,0.06);
  padding:18px;
  margin-bottom:18px;
}

.card.small{max-width:480px}

.label{display:block;margin-bottom:8px;color:var(--muted)}

#search{
  width:100%;
  padding:12px 14px;
  font-size:16px;
  border-radius:8px;
  border:1px solid #e6edf3;
  outline:none;
  transition:box-shadow .5s ease,border-color .5s ease;
}
#search:focus{
  box-shadow:0 4px 20px rgba(37,99,235,0.12);
  border-color: var(--accent);
}

.meta{margin-top:8px;color:var(--muted);font-size:14px}

.results{
  list-style:none;
  margin:12px 0 0 0;
  padding:0;
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
}
.result{
  padding:10px 12px;
  border-radius:8px;
  background:#fbfdff;
  border:1px solid #bbbbff;
  cursor:pointer;
  transition:transform .5s ease,box-shadow .5s ease;
}
.result:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(16,24,40,0.06);
  background-color: #eeeeff;
}

.no-results{margin-top:12px;padding:12px;border-radius:8px;background:#ffeeee;border:1px solid #ffbbbb}
.hidden{display:none}

.btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:8px;
  background:var(--accent);
  color:white;
  border:none;
  cursor:pointer;
  font-weight:600;
}
.btn:disabled{opacity:.6;cursor:not-allowed}

.small p{margin:6px 0;color:var(--muted);font-size:14px}

.highlight {
  background: #dddddd; /* halványszürke */
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
