/* Bharat Certificate — Frontend styles v1.4.1 (full-width redesign + mobile UX pack).
   Design system (ChatGPT UI/UX blueprint, 2026-11-02): sky #00AEEE,
   hero gradient #24566A → #173B4F, ink #0F2A3D, body #334155,
   muted #64748B, border #E2E8F0, off-white #F8FAFC, sky tint #F0FAFE.
   Full-bleed: .bca-wrap breaks out of the theme's content column to
   100vw; bands pad their content back to a 1200px container. */
.bca-wrap {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    background: #ffffff;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0 8px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
.bca-wrap *, .bca-wrap *::before, .bca-wrap *::after { box-sizing: border-box; }
.bca-wrap h1, .bca-wrap h2, .bca-wrap h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #0F2A3D;
}
/* Direct children that are not bands sit in a readable 880px column. */
.bca-wrap > :not(.bca-section):not(.bca-hero):not(.bca-disclaimer) {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.bca-disclaimer {
    background: #F0FAFE;
    border-bottom: 1px solid #E2E8F0;
    padding: 12px max(20px, calc((100% - 1200px) / 2));
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    margin: 0;
}
/* ---------- Bands & sections ---------- */
.bca-section {
    padding: 56px max(20px, calc((100% - 1200px) / 2));
    margin: 0;
}
.bca-section--alt { background: #F8FAFC; }
.bca-section--sky { background: #E6F7FE; }
.bca-heading {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}
.bca-subtext, .bca-note { font-size: 16px; line-height: 1.6; color: #475569; }
.bca-note { font-size: 14.5px; }
/* ---------- Hero / top banner ---------- */
.bca-hero {
    background:
        radial-gradient(600px circle at 85% 15%, rgba(0, 174, 238, 0.28), transparent 60%),
        linear-gradient(135deg, #24566A 0%, #173B4F 100%);
    color: #ffffff;
    padding: 48px max(20px, calc((100% - 1200px) / 2)) 56px;
    margin: 0;
    text-align: left;
}
.bca-hero__brand {
    color: #ffffff !important;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.bca-hero__brand .bca-accent { color: #00AEEE; }
.bca-hero__tagline {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}
.bca-hero__text { color: #CBD5E1; font-size: 17px; line-height: 1.6; margin: 0; max-width: 560px; }
.bca-hero__note { color: #FCD9A8; font-weight: 600; margin: 18px 0 0; font-size: 14px; }
.bca-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 18px;
}
.bca-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bca-hero-grid { display: grid; gap: 36px; align-items: center; }
.bca-chips {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bca-chips li {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E2E8F0;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}
/* Hero visual: application-progress preview card (pure HTML/CSS). */
.bca-hero-visual {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    color: #334155;
}
.bca-hero-visual__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.bca-hero-visual__title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; color: #0F2A3D; }
.bca-progress { height: 6px; background: #E2E8F0; border-radius: 99px; overflow: hidden; margin: 6px 0 18px; }
.bca-progress__bar { height: 100%; width: 60%; background: #00AEEE; border-radius: 99px; }
.bca-hero-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.bca-hero-steps li { display: flex; justify-content: space-between; gap: 10px; }
.bca-hero-steps .bca-step-state { font-weight: 600; font-size: 13.5px; }
.bca-hero-steps .is-done { color: #16A34A; }
.bca-hero-steps .is-doing { color: #0098D1; }
.bca-hero-steps .is-todo { color: #94A3B8; }
.bca-hero-checks { border-top: 1px solid #E2E8F0; padding-top: 14px; display: grid; gap: 8px; font-size: 14.5px; }
.bca-hero-checks span::before { content: "✓"; color: #16A34A; font-weight: 700; margin-right: 8px; }
.bca-hero-checks span.is-pending::before { content: "•"; color: #94A3B8; }
/* ---------- Buttons ---------- */
.bca-button {
    background: #00AEEE;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    min-height: 52px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 174, 238, 0.25);
    transition: background 0.2s ease, transform 0.1s ease;
}
.bca-button:hover, .bca-button:focus { background: #0098D1; color: #ffffff; }
.bca-button:active { transform: translateY(1px); box-shadow: none; }
.bca-button:focus-visible { outline: 2px solid #00AEEE; outline-offset: 2px; }
.bca-button--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
    color: #ffffff;
}
.bca-button--ghost:hover, .bca-button--ghost:focus { background: rgba(255, 255, 255, 0.10); border-color: #ffffff; }
.bca-button--secondary {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    color: #0F2A3D;
    box-shadow: none;
}
.bca-button--secondary:hover, .bca-button--secondary:focus { border-color: #00AEEE; background: #F0FAFE; color: #0F2A3D; }
.bca-link { color: #0098D1; font-weight: 600; }
/* ---------- Forms ---------- */
.bca-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.bca-label { font-weight: 600; font-size: 15px; color: #0F2A3D; }
.bca-input, .bca-select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    color: #334155;
}
.bca-input::placeholder { color: #94A3B8; }
.bca-input:focus, .bca-select:focus {
    border-color: #00AEEE;
    box-shadow: 0 0 0 4px rgba(0, 174, 238, 0.12);
    outline: none;
}
textarea.bca-input { min-height: 0; }
.bca-fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bca-application-fields .bca-fieldset {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 42, 61, 0.06), 0 4px 12px rgba(15, 42, 61, 0.04);
}
.bca-application-fields .bca-fieldset legend.bca-label {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding: 0 6px;
}
.bca-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.bca-checkbox input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.bca-auth { display: grid; gap: 16px; margin-top: 16px; }
/* ---------- Cards & grids ---------- */
.bca-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bca-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.bca-card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 42, 61, 0.06), 0 4px 12px rgba(15, 42, 61, 0.04);
}
a.bca-card, label.bca-card, .bca-card--link { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.bca-card:hover, label.bca-card:hover, .bca-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 42, 61, 0.10);
    border-color: #00AEEE;
}
.bca-card--disabled { opacity: 0.7; background: #F8FAFC; }
.bca-card--disabled:hover { transform: none; }
.bca-card--featured { border: 2px solid #00AEEE; background: #F0FAFE; }
.bca-card__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.bca-card__meta { margin: 0 0 6px; font-size: 14px; color: #64748B; }
.bca-radio-card { display: block; cursor: pointer; }
.bca-radio-card input { margin-right: 8px; }
.bca-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.bca-badge--live { background: #DCFCE7; color: #166534; }
.bca-badge--research { background: #E6F7FE; color: #0F2A3D; }
.bca-badge--not-live { background: #FEF3C7; color: #92400E; }
.bca-summary-card { margin-bottom: 20px; }
.bca-summary { margin: 0; }
.bca-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF2F5; }
.bca-summary div:last-child { border-bottom: none; }
.bca-summary dt { font-weight: 600; color: #0F2A3D; }
.bca-summary dd { margin: 0; text-align: right; }
/* ---------- Notices ---------- */
.bca-notice, .bca-error {
    background: #FFFBEB;
    border: 1px solid #F0D9A8;
    border-radius: 12px;
    padding: 14px 16px;
    line-height: 1.55;
}
.bca-error { background: #FEF2F2; border-color: #F5C2C0; }
.bca-notice-panel {
    border: 1px solid #E2E8F0;
    border-left: 4px solid #00AEEE;
    border-radius: 16px;
    padding: 20px;
    background: #F8FAFC;
    margin-bottom: 20px;
}
.bca-flash {
    background: #DCFCE7;
    border: 1px solid #A9D8B4;
    border-radius: 12px;
    padding: 13px 16px;
    font-weight: 600;
    margin: 0 0 16px;
}
/* ---------- Steps, lists, faq, tables ---------- */
.bca-steps { padding-left: 22px; line-height: 1.9; font-size: 16px; }
.bca-ticklist { list-style: none; padding: 0; margin: 0; line-height: 1.6; }
.bca-ticklist li { padding: 6px 0 6px 26px; position: relative; }
.bca-ticklist li::before { content: "✓"; position: absolute; left: 2px; color: #16A34A; font-weight: 700; }
.bca-ticklist--no li::before { content: "✕"; color: #B03A2E; }
.bca-dodont__cols { display: grid; gap: 16px; }
.bca-faq h3 { margin: 18px 0 4px; font-size: 17px; }
.bca-faq p { margin: 0 0 12px; line-height: 1.6; }
.bca-table-wrap { overflow-x: auto; border: 1px solid #E2E8F0; border-radius: 16px; background: #ffffff; }
.bca-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bca-table th, .bca-table td { border-bottom: 1px solid #E8EEF1; padding: 11px 12px; text-align: left; vertical-align: top; }
.bca-table tr:last-child td { border-bottom: none; }
.bca-table th { background: #F8FAFC; color: #0F2A3D; }
.bca-final-cta { text-align: center; }
.bca-final-cta .bca-heading { margin-bottom: 6px; }
.bca-notify { margin-top: 16px; }
#bca-state-search { margin: 4px 0 16px; }
.bca-homepage, .bca-account { max-width: none; }
/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .bca-grid { grid-template-columns: 1fr 1fr; }
    .bca-auth { grid-template-columns: 1fr 1fr; }
    .bca-dodont__cols { grid-template-columns: 1fr 1fr; }
    .bca-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .bca-section { padding-top: 80px; padding-bottom: 80px; }
    .bca-heading { font-size: 36px; }
    .bca-hero { padding-top: 84px; padding-bottom: 88px; }
    .bca-hero__brand { font-size: 54px; }
    .bca-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
    .bca-grid { grid-template-columns: 1fr 1fr 1fr; }
    .bca-button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .bca-wrap *, .bca-wrap *::before, .bca-wrap *::after { animation: none !important; transition: none !important; }
}
/* ---------- Mobile UX pack (v1.4.1) ----------
   Phone-first fixes: no sideways drift, shorter hero so the real
   work (state picker) arrives sooner, full-width tap targets,
   tighter sections and cards, readable tables and summaries. */
.bca-wrap { overflow-x: clip; }
@media (max-width: 640px) {
    .bca-hero { padding: 30px 20px 38px; }
    .bca-hero-grid { gap: 24px; }
    .bca-eyebrow { font-size: 12px; padding: 6px 12px; margin-bottom: 14px; }
    .bca-hero__brand { font-size: 29px; line-height: 1.2; margin-bottom: 10px; }
    .bca-hero__tagline { font-size: 17px; }
    .bca-hero__text { font-size: 15.5px; }
    .bca-hero__note { font-size: 13.5px; margin-top: 14px; }
    .bca-hero__cta { flex-direction: column; gap: 10px; margin-top: 22px; }
    .bca-hero__cta .bca-button { width: 100%; }
    .bca-chips { gap: 6px; margin-top: 16px; }
    .bca-chips li { font-size: 12px; padding: 6px 10px; }
    .bca-hero-visual { padding: 18px; border-radius: 16px; }
    .bca-hero-steps { font-size: 14px; gap: 8px; }
    .bca-hero-checks { font-size: 14px; }
    .bca-section { padding: 38px 20px; }
    .bca-heading { font-size: 24px; }
    .bca-subtext { font-size: 15px; }
    .bca-card { padding: 16px; }
    .bca-card__title { font-size: 16.5px; }
    .bca-steps { font-size: 15px; line-height: 1.8; }
    .bca-table { font-size: 13.5px; }
    .bca-table th, .bca-table td { padding: 9px 10px; }
    .bca-application-fields .bca-fieldset { padding: 16px; }
    .bca-disclaimer { font-size: 12.5px; padding-top: 10px; padding-bottom: 10px; }
    .bca-summary div { flex-direction: column; gap: 2px; }
    .bca-summary dd { text-align: left; }
    .bca-flash, .bca-notice, .bca-error { font-size: 14.5px; }
}
@media (max-width: 380px) {
    .bca-hero__brand { font-size: 26px; }
    .bca-hero-visual__title { font-size: 16px; }
}
