/* Admission form fields: the parents' QR / online form (admission-form.html) and the staff "Admission form" screen */
.af-sec { border: 1px solid #e3e6ec; border-radius: 12px; padding: 14px 16px 6px; margin: 0 0 14px; background: #fff; }
.af-sec h4 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.af-sec h4 small { color: #888; font-weight: 400; font-size: 12px; }
.af-ico { width: 30px; height: 30px; border-radius: 50%; background: #f4f1ea; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.af-row { display: grid; gap: 10px 14px; margin-bottom: 10px; }
.af-c1 { grid-template-columns: 1fr; } .af-c2 { grid-template-columns: 1fr 1fr; } .af-c3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .af-c2, .af-c3 { grid-template-columns: 1fr; } }
.af-f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; min-width: 0; }
.af-f > span { font-weight: 600; color: #333; }
.af-f input, .af-f select { width: 100%; box-sizing: border-box; padding: 10px 11px; border: 1px solid #cfd4dc; border-radius: 8px; font: inherit; font-size: 15px; background: #fbfbfb; color: #14287a; }
.af-f input:focus, .af-f select:focus { outline: 2px solid #f0a92a55; border-color: #e0962a; background: #fff; }
.af-upper input { text-transform: uppercase; }
.af-req { color: #c4262d; }
.af-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.af-pills label { cursor: pointer; position: relative; }
.af-pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.af-pills i { font-style: normal; display: inline-block; padding: 8px 14px; border: 1px solid #cfd4dc; border-radius: 999px; background: #fbfbfb; font-size: 14px; }
.af-pills input:checked + i { background: #2b2231; color: #fff; border-color: #2b2231; }
.af-pills input:focus-visible + i { outline: 2px solid #e0962a; }
.af-tick { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 0; }
.af-tick input, .af-decl input { width: 20px; height: 20px; accent-color: #2b2231; flex: none; }
.af-decl { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 600; color: #222; background: #faf7f0; border-radius: 8px; padding: 10px 12px; }
.af-photo { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.af-photo-box { width: 110px; height: 132px; border: 3px solid #222; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11.5px; color: #555; padding: 6px; box-sizing: border-box; background: #fff; overflow: hidden; }
.af-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.af-photo-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.af-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; border: 1px solid #2b2231; background: #2b2231; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.af-btn.af-ghost { background: #fff; color: #2b2231; }
.af-btn.af-amber { background: #e5582a; border-color: #e5582a; }
.af-btn[disabled] { opacity: .6; cursor: default; }
/* dark mode in the staff app */
body[data-theme="dark"] .af-sec { background: #141c2e; border-color: #2a3550; }
body[data-theme="dark"] .af-f > span, body[data-theme="dark"] .af-decl { color: #dfe5f2; }
body[data-theme="dark"] .af-f input, body[data-theme="dark"] .af-f select, body[data-theme="dark"] .af-pills i { background: #0f1626; border-color: #2f3b57; color: #cfe0ff; }
body[data-theme="dark"] .af-decl { background: #1b2336; }
body[data-theme="dark"] .af-ico { background: #222c43; }
/* staff: Online enquiry & QR screen */
.ao-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .ao-grid { grid-template-columns: 1fr; } }
.ao-qr { text-align: center; }
.ao-qr svg { margin: 8px auto; display: block; border-radius: 8px; }
.ao-state { font-size: 12.5px; font-weight: 600; margin: 4px 0; }
.ao-state.on { color: #1d7a3a; } .ao-state.off { color: #b0342c; }
.af-staff .af-photo { margin-top: 6px; }
/* Admissions: enquiries received by channel */
.adm-ch-wrap{margin:0 0 14px;}
.adm-ch-head{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px; font-size:14px;}
.adm-ch-head select{margin-left:auto; padding:6px 10px; border:1px solid var(--line); border-radius:8px; font:inherit; font-size:13px; background:#fff;}
.adm-ch-row{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px;} @media (max-width:720px){.adm-ch-row{grid-template-columns:1fr;}}
.adm-ch{display:flex; gap:12px; align-items:center; text-align:left; border:1.5px solid var(--line); border-radius:12px; background:#fff; padding:12px 14px; cursor:pointer; font:inherit;}
.adm-ch:hover{border-color:#b9c3d6;} .adm-ch.on{border-color:var(--amber-500,#f5a623); background:#fff8e8; box-shadow:0 0 0 3px rgba(245,166,35,.15);}
.adm-ch-ic{width:42px; height:42px; border-radius:12px; background:#f1f4f9; display:flex; align-items:center; justify-content:center; font-size:21px; flex:none;}
.adm-ch-body{flex:1; min-width:0; display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 8px;}
.adm-ch-label{font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:#516079;}
.adm-ch-body b{font-size:22px; line-height:1; grid-row:span 2; color:var(--ink,#0b1b3f);}
.adm-ch-bar{height:6px; border-radius:99px; background:#eef1f6; overflow:hidden;} .adm-ch-bar i{display:block; height:100%; background:var(--amber-500,#f5a623);}
.adm-ch-sub{grid-column:1/-1; font-size:11.5px; color:#64748b;}
body[data-theme="dark"] .adm-ch, body[data-theme="dark"] .adm-ch-head select{background:var(--paper-card); color:var(--ink);} body[data-theme="dark"] .adm-ch.on{background:rgba(245,166,35,.12);} body[data-theme="dark"] .adm-ch-ic{background:rgba(255,255,255,.06);}
