:root {
    --blue: #0879cf;
    --blue-dark: #063d78;
    --navy: #0a1931;
    --ink: #182236;
    --muted: #687386;
    --line: #e4eaf1;
    --soft: #f4f8fc;
}
* { box-sizing: border-box; }
.alert { transition: opacity .3s ease, transform .3s ease; }
body { color: var(--ink); font-family: "Roboto", Arial, sans-serif; margin: 0; }
a { text-decoration: none; }
.public-body { background: #fff; }
.site-header { background: var(--navy); position: relative; z-index: 20; }
.brand-lockup { align-items: center; color: #fff; display: flex; font-size: 1rem; gap: .75rem; letter-spacing: .08em; }
.brand-lockup img { background: transparent; border: 0; border-radius: 0; object-fit: contain; }
.navbar { min-height: 78px; }
.navbar .nav-link { color: rgba(255,255,255,.8); font-weight: 500; margin-left: 1rem; }
.btn { border-radius: .65rem; font-weight: 700; padding: .7rem 1.15rem; }
.btn-primary { background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 22px rgba(8,121,207,.2); }
.btn-primary:hover { background: #066bb7; border-color: #066bb7; transform: translateY(-1px); }
.hero-section { background: linear-gradient(120deg,#07182f,#0a3569 62%,#07589c); color: #fff; overflow: hidden; position: relative; }
.hero-pattern { background-image: radial-gradient(rgba(255,255,255,.12) 1px,transparent 1px); background-size: 24px 24px; inset: 0; opacity: .45; position: absolute; }
.min-vh-hero { min-height: 300px; }
.eyebrow { color: #aadaff; display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 1.25rem; text-transform: uppercase; }
.eyebrow-dark { color: var(--blue); }
.hero-copy { padding-bottom: 1.25rem; padding-top: 1.25rem; }
.hero-copy .eyebrow { font-size: .68rem; margin-bottom: .6rem; }
.hero-section h1 { font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; margin: 0 0 .75rem; }
.hero-section h1 span { color: #63bbff; }
.hero-lead { color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.45; max-width: 590px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.hero-actions .btn { font-size: .88rem; padding: .55rem .95rem; }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-trust { color: rgba(255,255,255,.65); display: flex; flex-wrap: wrap; font-size: .76rem; gap: 1.25rem; margin-top: .8rem; }
.hero-trust i { color: #71c1ff; margin-right: .45rem; }
.hero-logo-wrap { align-items: center; display: flex; justify-content: center; min-height: 300px; position: relative; }
.hero-logo { filter: drop-shadow(0 18px 28px rgba(0,0,0,.32)); max-height: 245px; max-width: 68%; position: relative; }
.hero-logo-glow { background: #1599e9; border-radius: 50%; filter: blur(48px); height: 190px; opacity: .22; position: absolute; width: 190px; }
.section-block { padding: 6rem 0; }
.section-soft { background: var(--soft); }
.section-heading { margin: 0 auto 3.5rem; max-width: 680px; text-align: center; }
.section-heading h2, .section-description { color: var(--ink); }
.section-heading h2 { font-size: 2.5rem; font-weight: 800; }
.section-heading p, .section-description { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 15px 40px rgba(19,55,90,.06); height: 100%; padding: 2rem; transition: .2s ease; }
.feature-card:hover { box-shadow: 0 18px 48px rgba(19,55,90,.12); transform: translateY(-4px); }
.feature-icon, .form-section-title > span { align-items: center; background: #e8f4ff; border-radius: .85rem; color: var(--blue); display: flex; font-size: 1.25rem; height: 52px; justify-content: center; margin-bottom: 1.4rem; width: 52px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 750; }
.feature-card p { color: var(--muted); line-height: 1.7; margin: 0; }
.check-panel { background: #fff; border: 1px solid var(--line); border-radius: 1rem; height: 100%; padding: 1.75rem; }
.check-panel h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.2rem; }
.check-panel ul { color: var(--muted); line-height: 2.05; margin: 0; padding-left: 1.2rem; }
.text-link { color: var(--blue); font-weight: 700; }
.cta-section { padding: 0 0 6rem; }
.cta-box { align-items: center; background: linear-gradient(120deg,#0879cf,#07508f); border-radius: 1.5rem; color: #fff; display: flex; gap: 2rem; justify-content: space-between; padding: 3.2rem; box-shadow: 0 20px 50px rgba(8,75,130,.2); }
.cta-box span { font-size: .76rem; font-weight: 800; letter-spacing: .13em; opacity: .7; text-transform: uppercase; }
.cta-box h2 { font-size: 2rem; font-weight: 800; margin: .65rem 0; }
.cta-box p { margin: 0; opacity: .75; }
.page-hero { background: linear-gradient(115deg,#081c36,#07599e); color: #fff; padding: 4.5rem 0; }
.page-hero .text-light-blue { color: #9dd7ff; }
.page-hero h1 { font-size: 2.7rem; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.72); margin: 0; }
.form-section { background: var(--soft); padding: 3.5rem 0 6rem; }
.form-card, .admin-form-card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 20px 55px rgba(21,54,87,.08); padding: 2.5rem; }
.form-section-title { align-items: center; display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.form-section-title > span { margin: 0; }
.form-section-title h2 { font-size: 1.3rem; font-weight: 750; margin: 0; }
.form-section-title p { color: var(--muted); font-size: .9rem; margin: .2rem 0 0; }
.form-label { font-size: .86rem; font-weight: 700; }
.form-control, .form-select { border-color: #d9e1ea; border-radius: .65rem; min-height: 48px; }
.form-control:focus, .form-select:focus { border-color: #6db8ed; box-shadow: 0 0 0 .2rem rgba(8,121,207,.12); }
.form-divider { border-color: var(--line); margin: 2.5rem 0; }
.upload-zone { align-items: center; background: #f8fbfe; border: 2px dashed #b9cce0; border-radius: 1rem; display: flex; flex-direction: column; padding: 2rem; text-align: center; }
.upload-zone > i { color: var(--blue); font-size: 2rem; margin-bottom: .75rem; }
.upload-zone label { color: var(--blue); cursor: pointer; font-weight: 700; }
.upload-zone input { margin: .75rem 0; max-width: 100%; }
.upload-zone span { color: var(--muted); font-size: .82rem; }
.privacy-note { background: #eff8ff; border-radius: .7rem; color: #46657f; font-size: .82rem; margin-top: 1.5rem; padding: 1rem; }
.form-submit { align-items: center; display: flex; gap: .75rem; justify-content: flex-end; margin-top: 2rem; }
.success-page { background: var(--soft); padding: 5rem 0 7rem; }
.success-card { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: 0 22px 60px rgba(16,52,89,.09); margin: auto; max-width: 820px; padding: 3.5rem; text-align: center; }
.success-icon { align-items: center; background: #e8f8ef; border-radius: 50%; color: #17a35a; display: flex; font-size: 1.7rem; height: 72px; justify-content: center; margin: 0 auto 1.5rem; width: 72px; }
.success-card h1 { font-size: 2.6rem; font-weight: 850; }
.receipt-summary { background: #f5f9fc; border-radius: 1rem; display: grid; grid-template-columns: repeat(2,1fr); margin: 2rem 0; padding: 1.5rem; text-align: left; }
.receipt-number { border-bottom: 1px solid var(--line); grid-column: 1 / -1; margin-bottom: 1rem; padding-bottom: 1rem; text-align: center; }
.receipt-number small { color: var(--muted); display: block; font-size: .7rem; letter-spacing: .1em; }
.receipt-number strong { color: var(--blue); font-size: 1.45rem; letter-spacing: .08em; }
.receipt-summary > div:not(.receipt-number) { align-items: center; display: flex; gap: .75rem; padding: .8rem; }
.receipt-summary i { color: var(--blue); font-size: 1.15rem; }
.receipt-summary span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.receipt-summary span strong { color: var(--ink); display: block; font-size: .96rem; margin-top: .1rem; text-transform: none; }
.success-address { align-items: center; display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.success-address i { color: var(--blue); font-size: 1.6rem; }
.success-address span { color: var(--muted); text-align: left; }
.success-address strong { color: var(--ink); display: block; }
.success-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.success-tip { color: var(--muted); font-size: .85rem; margin: 2rem 0 0; }
.site-footer { background: var(--navy); color: rgba(255,255,255,.55); font-size: .85rem; padding: 1.5rem 0; }
.site-footer strong { color: #fff; }
.login-body { background: #fff; min-height: 100vh; }
.login-shell { display: grid; grid-template-columns: 45% 55%; min-height: 100vh; }
.login-visual { background: linear-gradient(145deg,#07182f,#0867ad); color: #fff; display: grid; gap: 2rem; grid-template-rows: auto 1fr auto; justify-items: center; padding: 4rem; position: relative; }
.login-visual::after { background: linear-gradient(145deg,rgba(7,24,47,.65),rgba(8,103,173,.5)); content: ""; inset: 0; position: absolute; }
.login-visual-background { height: 100%; inset: 0; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.login-visual-logo { height: 120px; max-width: 100%; position: relative; width: auto; z-index: 1; }
.login-visual-content { align-self: center; max-width: 540px; position: relative; width: 100%; z-index: 1; }
.login-visual-footer { font-size: .9rem; position: relative; text-align: center; z-index: 1; }
.login-visual-content h1 { font-size: clamp(2.24rem,4vw,3.6rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.login-visual p { color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.8; }
.login-panel { align-items: center; display: flex; justify-content: center; padding: 4rem 2rem; position: relative; }
.back-link { color: var(--muted); left: 3rem; position: absolute; top: 2rem; }
.login-form-wrap { max-width: 430px; width: 100%; }
.login-form-wrap h2 { font-size: 2.2rem; font-weight: 850; }
.login-form-wrap > p { color: var(--muted); margin-bottom: 2rem; }
.input-icon { position: relative; }
.input-icon i { color: #96a3b4; left: 1rem; position: absolute; top: 1rem; z-index: 2; }
.input-icon .form-control { padding-left: 2.75rem; }
.login-secure { color: var(--muted); font-size: .78rem; margin-top: 1.4rem; text-align: center; }
@media (max-width: 991.98px) {
    .min-vh-hero { min-height: auto; }
    .hero-section { padding: 1.25rem 0 1.5rem; text-align: center; }
    .hero-copy { padding-bottom: 1rem; padding-top: .5rem; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-logo-wrap { min-height: 170px; }
    .hero-logo { max-height: 155px; }
    .cta-box { align-items: flex-start; flex-direction: column; }
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { display: none; }
}
@media (max-width: 575.98px) {
    .section-block { padding: 4rem 0; }
    .form-card, .success-card { padding: 1.35rem; }
    .form-section-title { align-items: flex-start; }
    .receipt-summary { grid-template-columns: 1fr; }
    .receipt-number { grid-column: auto; }
    .cta-box { padding: 2rem; }
    .form-submit { align-items: stretch; flex-direction: column-reverse; }
    .form-submit .btn { width: 100%; }
}
