body {
    height: 100% !important;
    font: .8em Arial, Helvetica, sans-serif, Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva;
    background: #fff !important;
    color: #000 !important;
}

:root {
    --shell-max: 860px;
    --shell-pad-x: 1rem;
    --shell-pad-y: 1.5rem;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #1d4ed8;
    --title: #0b1324;
    --link: #1d4ed8;
    --banner-bg: #eff6ff;
    --banner-line: #bfdbfe;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    line-height: 1.5;
}

.gov-shell {
    max-width: var(--shell-max);
    margin-inline: auto;
    padding: var(--shell-pad-y) var(--shell-pad-x) 3rem;
}

.gov-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.form-group {
    margin-bottom: .85rem;
}

    .form-group label {
        font-weight: 600;
        margin-bottom: .35rem;
        display: block;
    }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
    width: 100%;
    box-sizing: border-box;
}

textarea {
    min-height: 7rem;
    resize: vertical;
}

.buttons {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.text-danger {
    color: #b91c1c;
}

.validation-summary-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}

.gov-header {
    display: flex;
    justify-content: center;
    margin: 0 auto 1rem;
    max-width: var(--shell-max);
    padding-inline: 1rem;
}

.gov-banner {
    max-width: var(--shell-max);
    margin: 0 auto 1.25rem;
    padding: .9rem 1rem;
    background: var(--banner-bg);
    border: 1px solid var(--banner-line);
    border-radius: .75rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.45;
}

    .gov-banner strong {
        display: block;
        margin-bottom: .25rem;
        color: var(--title);
    }

    .gov-banner a {
        color: var(--link);
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.gov-title {
    max-width: var(--shell-max);
    margin: .25rem auto 0;
    padding-inline: 1rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.1;
    color: var(--title);
    font-size: 1.25rem;
}

.gov-subtitle {
    max-width: var(--shell-max);
    margin: .25rem auto 1.25rem;
    padding-inline: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.2;
    font-size: 1rem;
}

@media (min-width: 900px) {
    .gov-banner {
        padding: 1rem 1.25rem;
    }
}

.form-group label.required {
    display: inline-block;
    font-weight: 600;
}

    .form-group label.required::after {
        content: " *";
        color: #dc2626;
        font-weight: 700;
        margin-left: .15rem;
    }

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff !important;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.25rem .5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #2563eb, #3b82f6);
        border-color: #2563eb;
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
        transform: translateY(-2px);
    }

.btn-secondary {
    background: #f9fafb;
    color: #0f172a !important;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.25rem .5rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .btn-secondary:hover {
        background: #e5e7eb;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.btn-success {
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff !important;
    border: 1px solid #15803d;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.25rem .5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

    .btn-success:hover {
        background: linear-gradient(135deg, #22c55e, #4ade80);
        border-color: #22c55e;
        box-shadow: 0 6px 14px rgba(34, 197, 94, 0.4);
        transform: translateY(-2px);
    }
