/*
 * Public interview pages (Public/InterviewBooking, SchoolEnquiry, InterviewStatus).
 * Tokens from acs-tokens.css, Mulish from acs-typography.css (self-hosted). px only, ASCII only.
 */
* { box-sizing: border-box; }
body { margin: 0; background: #FAFCFF; color: var(--acs-foreground, #020817); font-family: var(--acs-font-sans, Mulish, Arial, sans-serif); font-size: 15px; line-height: 1.5; }
.ip-shell { max-width: 860px; margin: 0 auto; padding: 24px 16px 48px; }
.ip-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ip-brand img { height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.ip-brand h1 { margin: 0; font-size: 22px; font-weight: 700; }
.ip-brand p { margin: 2px 0 0; color: var(--acs-muted-foreground, #64748B); font-size: 14px; }
.ip-card { background: #fff; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px); box-shadow: var(--acs-shadow-z4, 0 1px 2px rgba(145, 158, 171, 0.16)); padding: 22px; margin-bottom: 16px; }
.ip-card h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.ip-card .ip-lead { margin: 0 0 16px; color: var(--acs-muted-foreground, #64748B); font-size: 14px; }
.ip-section { margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--acs-border, #E2E8F0); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--acs-muted-foreground, #64748B); }
.ip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.ip-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ip-field .ip-req { color: var(--acs-danger, #FF3D3D); }
.ip-field input, .ip-field select, .ip-field textarea {
    width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px);
    font: inherit; font-size: 15px; background: #fff; color: inherit;
}
.ip-field textarea { height: auto; padding: 10px 12px; }
.ip-field input:focus, .ip-field select:focus, .ip-field textarea:focus { outline: 0; border-color: var(--acs-accent, #3377FF); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.ip-hint { font-size: 12px; color: var(--acs-muted-foreground, #64748B); margin-top: 4px; }
.ip-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin: 10px 0; }
.ip-check input { margin-top: 3px; width: 18px; height: 18px; }
.ip-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ip-slot { display: block; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px); padding: 10px 12px; cursor: pointer; font-size: 14px; }
.ip-slot input { margin-right: 6px; }
.ip-slot small { display: block; color: var(--acs-muted-foreground, #64748B); }
.ip-slot.is-picked { border-color: var(--acs-accent, #3377FF); background: var(--acs-accent-subtle, #E5EEFF); }
.ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 9999px; border: 1px solid transparent;
    background: var(--acs-accent, #3377FF); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.ip-btn:hover, .ip-btn:focus { background: var(--acs-accent-darker, #3567D4); color: #fff; outline: 0; }
.ip-btn.is-outline { background: #fff; color: var(--acs-accent, #3377FF); border-color: var(--acs-accent, #3377FF); }
.ip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ip-alert { border-radius: var(--acs-radius-md, 6px); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.ip-alert.is-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.ip-alert.is-success { background: #e6f9f1; color: #047857; border: 1px solid #a7f3d0; }
.ip-alert.is-info { background: var(--acs-accent-subtle, #E5EEFF); color: var(--acs-accent-darker, #3567D4); border: 1px solid var(--acs-accent-lighter, #99BBFF); }
.ip-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 14px 0; }
.ip-facts dt { font-size: 12px; color: var(--acs-muted-foreground, #64748B); font-weight: 600; }
.ip-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; word-break: break-word; }
.ip-ref { font-size: 26px; font-weight: 800; letter-spacing: .02em; color: var(--acs-accent, #3377FF); }
.ip-pay { border: 1px dashed var(--acs-accent-lighter, #99BBFF); border-radius: var(--acs-radius-lg, 8px); padding: 14px; margin-top: 14px; }
.ip-pay strong { white-space: nowrap; }
.ip-turnstile { margin: 14px 0; }
.ip-foot { text-align: center; color: var(--acs-muted-foreground, #64748B); font-size: 12px; margin-top: 18px; }
.ip-hidden { display: none; }
@media (max-width: 640px) {
    .ip-grid, .ip-grid.two, .ip-facts { grid-template-columns: 1fr; }
    .ip-field input, .ip-field select { height: 44px; }
    .ip-btn { width: 100%; }
}

/* Terms box, payment notice and the Book and pay button (2026-10-16). */
.ip-terms { max-height: 140px; overflow: auto; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px); padding: 10px 12px; font-size: 14px; background: #F8FAFC; }
.ip-terms:focus { outline: 0; border-color: var(--acs-accent, #3377FF); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.ip-paynotice { margin-top: 16px; }
.ip-btn.is-pay { background: var(--acs-success, #06C170); }
.ip-btn.is-pay:hover, .ip-btn.is-pay:focus { background: var(--acs-success-dark, #059B5A); }
.ip-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Two steps: Application, then Payment (2026-10-17). */
.ip-steps { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ip-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px); background: #fff; color: var(--acs-muted-foreground, #64748B); font-size: 14px; font-weight: 600; }
.ip-steps li b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acs-border, #E2E8F0); color: #475569; font-size: 13px; flex: 0 0 auto; }
.ip-steps li.is-active { border-color: var(--acs-accent, #3377FF); color: var(--acs-foreground, #020817); background: var(--acs-accent-subtle, #E5EEFF); }
.ip-steps li.is-active b { background: var(--acs-accent, #3377FF); color: #fff; }
.ip-steps li.is-done b { background: var(--acs-success, #06C170); color: #fff; }
.ip-payframe { display: block; width: 100%; height: 980px; border: 1px solid var(--acs-border, #E2E8F0); border-radius: var(--acs-radius-lg, 8px); background: #fff; }
@media (max-width: 640px) { .ip-steps li { padding: 8px 10px; font-size: 13px; } .ip-payframe { height: 1180px; } }
