 :root {
    --eidec-navy: #102b4e;
    --eidec-blue: #1769aa;
    --eidec-cyan: #2ec4b6;
    --eidec-gold: #c5a059;
    --eidec-background: #f3f6fa;
}
html { min-height: 100%; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, #e4effb 0, var(--eidec-background) 36rem);
    color: #182b45;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.eidec-navbar {
    background: var(--eidec-navy);
    box-shadow: 0 4px 18px rgba(16, 43, 78, .12);
    padding: .9rem 0;
}
.brand-logo {
    display: block;
    width: 142px;
    max-height: 54px;
    object-fit: contain;
    background: #fff;
    border-radius: .45rem;
    padding: .2rem .45rem;
}
.brand-caption {
    color: #e6f0fb;
    font-size: .92rem;
    white-space: normal;
}
.page-wrap { flex: 1; padding-top: 3.5rem; padding-bottom: 3rem; }
.search-card, .certificate-card {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(16, 43, 78, .09);
}
.search-card .card-body { padding-top: 3rem !important; padding-bottom: 2.75rem !important; }
.eyebrow {
    color: var(--eidec-blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.display-title {
    color: var(--eidec-navy);
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 760;
    letter-spacing: -.035em;
}
.btn-primary {
    --bs-btn-bg: var(--eidec-blue);
    --bs-btn-border-color: var(--eidec-blue);
    --bs-btn-hover-bg: #105487;
    --bs-btn-hover-border-color: #105487;
    --bs-btn-active-bg: #105487;
    --bs-btn-active-border-color: #105487;
}
.form-control:focus {
    border-color: #5b9bd5;
    box-shadow: 0 0 0 .25rem rgba(23, 105, 170, .15);
}
.help-footer {
    padding: 1.1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e9eef4;
    color: #64748b;
    font-size: .875rem;
    text-align: center;
}
.privacy-note { color: #718096; font-size: .82rem; }
.site-footer {
    padding: 1.4rem 0;
    color: #718096;
    font-size: .8rem;
}
.results-wrap { max-width: 900px; }
.certificate-card { border: 1px solid #e0e8f1; }
.certificate-icon {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 2.7rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 1.3rem;
    font-weight: 800;
}
.certificate-data dt { color: #64748b; font-size: .88rem; font-weight: 650; }
.certificate-data dd { overflow-wrap: anywhere; font-weight: 600; }
@media (max-width: 575.98px) {
    .brand-logo { width: 108px; }
    .brand-caption { font-size: .8rem; }
    .page-wrap { padding-top: 1.75rem; }
    .search-card .card-body { padding-top: 2rem !important; }
}
