/* Lumorra – Randi-ötletek (app.css + styles.css tokenekre építve) */

.randi-fejsor { margin: .2rem 0 1rem; }

/* Kategória-szűrő chipek */
.randi-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 .8rem; }
.randi-chip { border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink-soft);
  border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 600; cursor: pointer; }
.randi-chip:hover { border-color: var(--brand-mint); }
.randi-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.result-count { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .8rem; }

/* Rács + kártyák */
.randi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.randi-card { display: flex; flex-direction: column; background: var(--card, #fff); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow-soft); }
.randi-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.randi-ic { font-size: 1.5rem; }
.randi-kat { background: var(--brand-light); color: var(--brand-darker); border-radius: 999px;
  padding: .2rem .6rem; font-size: .76rem; font-weight: 700; }
.randi-torol { margin-left: auto; border: none; background: transparent; color: var(--ink-soft);
  font-size: 1rem; cursor: pointer; line-height: 1; padding: .2rem .35rem; border-radius: 8px; }
.randi-torol:hover { background: #fdeceb; color: #b3261e; }
.randi-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--ink); }
.randi-leiras { margin: 0 0 .7rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.randi-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .82rem; color: var(--ink-soft); margin-bottom: .6rem; }
.randi-szerzo { margin-top: auto; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }

/* Üres állapot */
.randi-ures { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); background: var(--card, #fff);
  border: 1px dashed var(--line); border-radius: 16px; padding: 2.2rem 1.4rem; }
.randi-ures .ru-ic { font-size: 2.2rem; display: block; margin-bottom: .5rem; }
.randi-ures b { display: block; color: var(--ink); margin-bottom: .3rem; font-size: 1.05rem; }

/* Új randi űrlap */
.randi-urlap { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem 1.3rem; margin-bottom: 1rem; box-shadow: var(--shadow-soft); }
.ru-mezo { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.ru-mezo label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.ru-mezo input, .ru-mezo textarea, .ru-mezo select { width: 100%; box-sizing: border-box; padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: var(--bg-soft); }
.ru-mezo input:focus, .ru-mezo textarea:focus, .ru-mezo select:focus { outline: none; border-color: var(--brand); background: #fff; }
.ru-mezo textarea { resize: vertical; }
.ru-racs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; }
@media (max-width: 560px) { .ru-racs { grid-template-columns: 1fr; } }
.ru-gombok { display: flex; gap: .7rem; margin-top: .4rem; }

/* Visszajelző banner */
.ar-banner { border-radius: 12px; padding: .8rem 1rem; margin: .2rem 0 1rem; font-weight: 600; text-align: center; }
.ar-banner.jo { background: #e9f7f4; color: var(--brand-dark); }
.ar-banner.info { background: #fff6e5; color: #8a6d00; }
.ar-banner.hiba { background: #fdeceb; color: #b3261e; }
