/* Pjesa e kompanive — hyrje, regjistrim, llogari.
   Trashëgon paletën dhe tipografinë nga ../style.css; këtu vetëm format,
   fushat dhe gjendjet që faqja publike nuk i ka. */

.auth { max-width: 480px; margin: 0 auto; padding: 48px 24px 72px; }
.auth.wide { max-width: 720px; }
.auth h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; }
.auth .sub { color: var(--muted); margin-bottom: 30px; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font-size: 16px; /* 16px: nën këtë, iOS bën zoom */
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }

button.act {
  width: 100%; padding: 14px 20px; margin-top: 10px;
  background: var(--accent); color: #000; border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer;
}
button.act:disabled { opacity: .55; cursor: default; }
button.act.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

.msg { padding: 13px 15px; border-radius: 10px; font-size: 14.5px; margin-bottom: 18px; }
.msg.err { background: #2a1315; border: 1px solid #5c2a2f; color: #ffb4b4; }
.msg.ok  { background: #10241b; border: 1px solid #24503c; color: #9fe8c0; }

.alt { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.alt a { color: var(--accent); text-decoration: none; }

/* Zgjedhja e planit: dy kuti që sillen si radio, por duken si çmime. */
.picks { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 8px 0 22px; }
@media (max-width: 560px) { .picks { grid-template-columns: 1fr; } }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label {
  display: block; padding: 20px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.pick input:checked + label { border-color: var(--accent); background: #1b1710; }
.pick input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick .tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pick .amount { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.pick .per { font-size: 14px; color: var(--muted); }

/* Llogaria */
.state {
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 20px;
}
.state.live { border-color: #24503c; background: #10241b; }
.state.dead { border-color: #5c2a2f; background: #2a1315; }
.state .big { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.state .small { color: var(--muted); font-size: 14.5px; }

.bills { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bill { display: flex; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.bill:last-child { border-bottom: 0; }
.bill .no { color: var(--muted); }
.empty { padding: 22px; color: var(--muted); font-size: 14.5px; text-align: center; }

.spin { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%; animation: sp .7s linear infinite; vertical-align: -2px; margin-right: 7px; }
@keyframes sp { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
