/* Belépő és regisztrációs oldal (többcéges mód) */
.belepes { max-width: 440px; margin: 48px auto; padding: 0 16px; }
.belepes .card { padding: 24px; }
.belepes .fulek { display: flex; gap: 8px; margin-bottom: 20px; }
.belepes .fulek button {
  flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--muted); font: 600 14px/1.2 var(--font-body); cursor: pointer;
}
.belepes .fulek button[aria-selected=true] { background: var(--black); border-color: var(--black); color: var(--on-accent); }
.belepes .fulek button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.belepes form { display: flex; flex-direction: column; gap: 12px; }
.belepes form[hidden] { display: none; }
.belepes .field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.belepes .field span { font-size: 13px; font-weight: 600; }
.belepes .field input { width: 100%; }
.belepes button.primary { margin-top: 8px; width: 100%; }
.belepes .uzenet { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--bad-soft); color: var(--bad-text); font-size: 14px; }

/* a belépett felhasználó a fejlécben */
.fiok { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.fiok strong { color: var(--text); font-weight: 600; }
.fiok button { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: 500 13px/1.2 var(--font-body); cursor: pointer; }
.fiok button:hover { background: var(--editorial); }

/* Cégadatok oldal */
.cegadatok { max-width: 760px; margin: 32px auto; padding: 0 16px; }
.cegadatok .card { padding: 24px; }
.cegadatok form { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.cegadatok fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; }
.cegadatok legend { font-weight: 600; padding: 0 6px; }
.cegadatok .field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.cegadatok .field span { font-size: 13px; font-weight: 600; }
.cegadatok .field input { width: 100%; }
.cegadatok fieldset > .hint, .cegadatok .megjegyzesek, .cegadatok fieldset > button { grid-column: 1 / -1; }
.cegadatok fieldset > button { justify-self: start; }
.cegadatok .megjegyzesek { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cegadatok .megjegyzesek li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.cegadatok .megjegyzesek textarea { grid-column: 1 / -1; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; resize: vertical; }
.cegadatok .megjegyzesek textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.cegadatok button.primary { align-self: flex-start; min-width: 160px; }
.cegadatok .uzenet { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--bad-soft); color: var(--bad-text); font-size: 14px; }
.cegadatok .uzenet.jo { background: var(--ok-soft); color: var(--ok-text); }
.fiok a { color: var(--text); font-weight: 500; }
.cegadatok .megjegyzesek li input { grid-column: 1; grid-row: 1; width: 100%; }
.cegadatok .megjegyzesek li button { grid-column: 2; grid-row: 1; }
.cegadatok .megjegyzesek li textarea { grid-row: 2; }
/* a hidden attribútum erősebb a display beállításnál (helyi módban a fiók-doboz nem látszik) */
.fiok[hidden] { display: none; }

/* a feltételek elfogadása a regisztrációnál */
.belepes .pipa { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.belepes .pipa input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* szem a jelszómezőben */
.jelszo-mezo { position: relative; display: block; }
.jelszo-mezo input { width: 100%; padding-right: 46px; }
.jelszo-szem { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.jelszo-szem:hover, .jelszo-szem:focus-visible { color: var(--text); background: var(--editorial); }
.jelszo-szem .szem-athuzas { display: none; }
.jelszo-szem[aria-pressed=true] .szem-athuzas { display: inline; }
.mentes-sor { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mentes-allapot { font-size: 14px; font-weight: 600; color: var(--ok-text); }
.mentes-allapot.hiba { color: var(--bad-text); }
