:root {
    --brand-navy: #1a237e;
    --brand-navy-deep: #0d1548;
    --brand-gold: #d4af37;
    --brand-teal: #00695c;
    --brand-teal-soft: #e0f2f1;
    --paper: #f7f9fc;
    --ink: #1c2434;
    --muted: #5c6b7a;
    --line: #d5dee8;
    --warn-bg: #fff8e1;
    --warn-border: #f5d76e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(26, 35, 126, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.12), transparent 35%),
        linear-gradient(180deg, #eef2f8 0%, var(--paper) 45%, #e8eef5 100%);
    min-height: 100vh;
}

.page {
    width: min(1100px, 94vw);
    margin: 0 auto;
    padding: 28px 0 40px;
}

.brand-header {
    text-align: center;
    margin-bottom: 28px;
}

.brand-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    filter: drop-shadow(0 6px 16px rgba(13, 21, 72, 0.18));
}

.brand-name {
    margin: 0;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: var(--brand-navy);
    letter-spacing: 0.02em;
}

.brand-tagline {
    margin: 8px 0 14px;
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
}

.brand-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.brand-nav a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.brand-nav a:hover { text-decoration: underline; }

.search-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0 auto 18px;
    max-width: 640px;
}

.search-box input {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1.05rem;
    outline: none;
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.06);
}

.search-box input:focus {
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.12);
}

.btn-search {
    align-self: center;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #283593 0%, var(--brand-navy) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 11px 34px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(26, 35, 126, 0.28);
}

.btn-search:hover { filter: brightness(1.06); }

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--warn-bg);
    border: 1px solid #f5d76e;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 auto 22px;
    max-width: 920px;
}

.notice i { color: #f9a825; margin-top: 2px; }
.notice p { margin: 0; line-height: 1.45; }

.alert {
    max-width: 920px;
    margin: 0 auto 18px;
    padding: 12px 14px;
    border-radius: 8px;
}

.alert-warn {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #e65100;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 22px;
    max-width: 1080px;
    box-shadow: 0 10px 28px rgba(16, 24, 64, 0.06);
}

.panel-head {
    background: linear-gradient(90deg, var(--brand-navy) 0%, #283593 100%);
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    letter-spacing: 0.03em;
}

.panel-sub {
    text-align: center;
    color: var(--brand-navy);
    font-weight: 600;
    margin: 12px 0 4px;
}

.panel-body { padding: 16px 18px; }

.info-list {
    display: grid;
    gap: 8px;
}

.info-list span {
    display: inline-block;
    min-width: 130px;
    font-weight: 700;
}

.panel-actions {
    padding: 0 18px 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--brand-teal);
    color: var(--brand-teal);
    background: #fff;
    text-decoration: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 600;
}

.btn-outline:hover { background: var(--brand-teal-soft); }

.table-wrap {
    overflow-x: auto;
    padding: 8px 12px 16px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.results-table th,
.results-table td {
    border: 1px solid var(--line);
    padding: 10px 8px;
    vertical-align: top;
}

.results-table th {
    background: #eceff1;
    color: #37474f;
    font-size: 0.82rem;
    white-space: nowrap;
}

.results-table tbody tr:nth-child(even) { background: #fafbfd; }

.text-center { text-align: center; }

.btn-eye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    text-decoration: none;
}

.btn-eye:hover { background: #bbdefb; }

.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 28px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

@media (max-width: 700px) {
    .info-list span { min-width: 100px; }
    .brand-logo { width: 96px; }
}
