/* Labumen Ahli pages: sign in, sign up and the parent page. Builds on style.css and page.css. */
.ahli { max-width: 760px; }
.ahli-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ahli-tag { font: 800 0.8rem var(--round); background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; vertical-align: middle; letter-spacing: 0.08em; }
.ahli-lang { border: 0; border-radius: 999px; padding: 10px 16px; background: #fff; box-shadow: 0 2px 0 #F0DFC8; font: 700 0.95rem var(--round); color: var(--ink); cursor: pointer; }
.ahli h1 { color: var(--plum); }
.ahli h2 { color: var(--plum); }
.card { background: #fff; border-radius: 18px; padding: 18px 18px 20px; margin: 16px 0; box-shadow: 0 2px 0 #F0DFC8; }
.card.gold { border: 3px solid var(--gold); }
.card.warn { border: 3px solid #E5483E; }
.card h2 { margin-top: 0; }
form.f { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
form.f label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
form.f input:not([type=checkbox]):not([type=radio]), form.f select, form.f textarea {
  font: inherit; padding: 11px 13px; border: 2px solid #E8DCCF; border-radius: 12px; background: #fff; color: var(--ink);
}
form.f input:focus, form.f select:focus, form.f textarea:focus { outline: 3px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
form.f .tick { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
form.f .tick input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--plum); }
.btn {
  display: inline-block; border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--orange-deep); color: #fff; font: 800 1rem var(--round); box-shadow: 0 4px 0 #6E3500;
}
.btn.plum { background: var(--plum); box-shadow: 0 4px 0 #4E2275; }
.btn.alt { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px #E8DCCF inset; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.95rem; }
.links a, .ahli a { color: var(--plum); font-weight: 700; }
.err { color: #B3261E; font-weight: 700; margin: 0; }
.ok { color: #2E6B1A; font-weight: 700; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status strong { font: 800 1.25rem var(--round); color: var(--plum); }
.kids { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.kid { display: flex; align-items: center; gap: 8px; border: 2px solid #E8DCCF; border-radius: 999px; padding: 4px 14px 4px 4px; background: #fff; cursor: pointer; font: 700 1rem var(--round); color: var(--ink); }
.kid img { width: 36px; height: 36px; }
.kid[aria-pressed="true"] { border-color: var(--plum); background: #F3ECFA; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0; }
.stat { background: #FFF7EA; border-radius: 14px; padding: 10px 12px; }
.stat b { display: block; font: 800 1.5rem var(--round); color: var(--plum); }
.stat span { font-size: 0.85rem; color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.t th, table.t td { text-align: left; padding: 7px 6px; border-bottom: 1px solid #F0DFC8; vertical-align: top; }
table.t th { color: var(--muted); font-weight: 600; }
.bar { height: 10px; border-radius: 5px; background: #F0DFC8; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--plum); }
.subj { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 40px; gap: 8px; align-items: center; margin: 6px 0; font-size: 0.92rem; }
.avatars { display: flex; gap: 8px; flex-wrap: wrap; }
.avatars label { flex-direction: column; align-items: center; font-weight: 400; font-size: 0.8rem; cursor: pointer; }
.avatars img { width: 48px; height: 48px; border-radius: 50%; border: 3px solid transparent; }
.avatars input { position: absolute; opacity: 0; }
.avatars input:checked + img { border-color: var(--plum); }
.avatars input:focus-visible + img { outline: 3px solid var(--plum); }
.draft { background: #FFF1C2; border: 2px dashed #C8901A; border-radius: 12px; padding: 8px 12px; font-size: 0.9rem; }
details summary { cursor: pointer; font-weight: 700; color: var(--plum); }
@media print {
  .ahli-top button, .foot, form, .noprint { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
.ahli .brand a { color: inherit; font-weight: inherit; }

.more .tabbar { display: flex; flex-wrap: wrap; gap: 8px; }
.more .tab { border: 2px solid #F0DFC8; background: #FFF8EE; color: inherit; border-radius: 999px; padding: 8px 14px; font: 700 0.95rem var(--round, inherit); cursor: pointer; }
.more .tab[aria-selected="true"] { background: var(--plum, #7B3FB5); border-color: var(--plum, #7B3FB5); color: #fff; }
.more .tabpanel { margin-top: 14px; padding-top: 4px; border-top: 1px dashed #F0DFC8; }
.more .tabpanel h3 { margin: 10px 0 6px; }
