/* Applicaa Post-16 Clearance Pilot — brand styles (served same-origin). */

.ap-topbar { display:flex; align-items:center; gap:12px; padding:14px 20px; background:#fff; border-bottom:1px solid #e6e9f2; box-shadow:0 1px 2px rgba(16,24,64,.04); }
.ap-topbar-strip { height:4px; background:linear-gradient(90deg,#2b60ff,#547fff); }
.ap-logo { height:30px; width:auto; display:block; }
.ap-topbar-tag { font-weight:600; color:#2b60ff; font-size:13px; letter-spacing:.02em; }

.ap-wrap { max-width:760px; margin:0 auto; padding:28px 18px 64px; }
.ap-hero { margin-bottom:22px; }
.ap-hero h1 { font-size:26px; font-weight:800; color:#0f1e46; margin:0 0 8px; line-height:1.2; }
.ap-hero p { color:#4a5578; font-size:15px; margin:0; line-height:1.5; }

.ap-card { background:#fff; border:1px solid #e6e9f2; border-radius:16px; padding:22px; box-shadow:0 4px 18px rgba(16,24,64,.05); }
.ap-section-title { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#8a93b2; margin:6px 0 14px; }

.ap-field { margin-bottom:16px; }
.ap-label { display:block; font-size:13px; font-weight:600; color:#2b3557; margin-bottom:6px; }
.ap-input { width:100%; box-sizing:border-box; padding:11px 13px; border:1px solid #cfd6e6; border-radius:10px; font-size:15px; color:#0f1e46; background:#fff; transition:border-color .15s, box-shadow .15s; }
.ap-input:focus { outline:none; border-color:#2b60ff; box-shadow:0 0 0 3px rgba(43,96,255,.15); }

.ap-divider { height:1px; background:#eef0f7; margin:22px 0; }

.ap-student-row { display:grid; grid-template-columns:1fr 1fr 180px 42px; gap:12px; align-items:end; padding:14px; border:1px solid #eef0f7; border-radius:12px; margin-bottom:12px; background:#fafbff; }
.ap-student-row .ap-field { margin-bottom:0; }
.ap-remove { border:1px solid #f2d0c9; background:#fff; color:#ec634b; font-size:20px; line-height:1; width:42px; height:42px; border-radius:9px; cursor:pointer; }
.ap-remove:hover { background:#fff2ef; }

.ap-btn { display:inline-block; background:#2b60ff; color:#fff; border:none; padding:12px 20px; border-radius:11px; font-size:15px; font-weight:700; cursor:pointer; text-decoration:none; transition:background .15s; }
.ap-btn:hover { background:#1f4fd6; }
.ap-btn-ghost { background:#eef2ff; color:#2b60ff; }
.ap-btn-ghost:hover { background:#e0e7ff; }
.ap-actions { display:flex; justify-content:flex-end; align-items:center; gap:12px; margin-top:22px; flex-wrap:wrap; }

.ap-errors { background:#fff2ef; border:1px solid #f6c9bf; color:#b23a22; border-radius:10px; padding:12px 14px; margin-bottom:18px; font-size:14px; }
.ap-errors ul { margin:6px 0 0; padding-left:18px; }
.ap-note { color:#8a93b2; font-size:13px; margin:14px 0 0; }

.ap-check { display:flex; gap:12px; align-items:flex-start; padding:16px; border:1px solid #eef0f7; border-radius:12px; background:#fafbff; margin-top:6px; }
.ap-check input[type=checkbox] { width:20px; height:20px; margin-top:2px; flex:0 0 auto; accent-color:#2b60ff; cursor:pointer; }
.ap-check label { color:#2b3557; font-size:14px; line-height:1.45; cursor:pointer; }

.ap-table { width:100%; border-collapse:collapse; font-size:14px; }
.ap-table th { text-align:left; color:#8a93b2; font-size:12px; text-transform:uppercase; letter-spacing:.05em; padding:10px 12px; border-bottom:1px solid #eef0f7; }
.ap-table td { padding:10px 12px; border-bottom:1px solid #f2f4fa; color:#2b3557; vertical-align:top; }
.ap-badge { display:inline-block; background:#eef2ff; color:#2b60ff; border-radius:999px; padding:2px 10px; font-size:12px; font-weight:700; cursor:pointer; }
.ap-sub-students { margin:6px 0 0; padding-left:16px; color:#4a5578; font-size:13px; }
.ap-empty { color:#8a93b2; text-align:center; padding:34px; }

@media (max-width:560px) {
  .ap-student-row { grid-template-columns:1fr; }
  .ap-remove { justify-self:end; }
}
