﻿:root {
    color-scheme: light;
    --brand: #004c93;
    --brand-dark: #1f4168;
    --brand-light: #43a7c6;
    --ink: #24364b;
    --muted: #607186;
    --line: #dce5ef;
    --surface: #ffffff;
    --background: #f4f7fb;
    --danger-bg: #fff5f5;
    --danger: #9b1c28;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: 9px;
    min-width: 280px;
    background: var(--background);
    color: var(--ink);
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

body::before {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    left: 0;
    height: 9px;
    background: var(--brand);
    content: "";
    pointer-events: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(67, 167, 198, .45);
    outline-offset: 3px;
}

.site-header {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 3px 14px rgba(31, 65, 104, .08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 120px;
    padding: 14px 24px;
}

.site-header__inner,
.site-nav__inner,
.page-shell,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.brand {
    display: block;
    flex: 0 1 470px;
    text-decoration: none;
}

.brand__logo {
    display: block;
    width: 100%;
    max-width: 470px;
    height: 92px;
    background: url("images/uda_header_2026.png") no-repeat left center / contain;
}

.site-heading {
    flex: 0 0 auto;
    padding-left: 24px;
    border-left: 1px solid #d5dde6;
    text-align: right;
}

.site-heading small,
.site-heading strong {
    display: block;
}

.site-heading small {
    margin-bottom: 3px;
    color: #718196;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-heading strong {
    color: var(--brand-dark);
    font-size: 1.15rem;
}

.site-nav {
    min-height: 50px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    background: #fff;
}

.site-nav__inner {
    display: flex;
    min-height: 48px;
    align-items: stretch;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 2px solid var(--brand-light);
    color: var(--brand);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover {
    background: #f7fafc;
    color: #002f5c;
}

.page-shell {
    padding: 42px 0 56px;
}

.card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 65, 104, .10);
}

.card__heading {
    padding: 26px 28px 22px;
    border-bottom: 1px solid #e5ebf2;
    background: #fbfcfe;
}

.card__heading h1 {
    margin: 3px 0 8px;
    color: var(--brand-dark);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    line-height: 1.25;
}

.card__heading p {
    margin: 0;
    color: var(--muted);
}

.eyebrow {
    color: #376fa8 !important;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.selection-summary {
    margin-top: 12px !important;
}


.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.data-table th,



.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #f4f7fb;
    color: #405d7d;
    font-size: .76rem;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table tbody {
    text-transform: uppercase;
}

.data-table tbody tr:hover {
    background: #f6f9fc;
}

.data-table a {
    color: #28588f;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.data-table a:hover {
    color: #123f6f;
}

.alert {
    margin: 22px 28px;
    padding: 13px 15px;
    border-radius: 9px;
}

.alert--error {
    border: 1px solid #efb8bb;
    background: var(--danger-bg);
    color: var(--danger);
}

.actions {
    display: flex;
    padding: 22px 28px 26px;
    border-top: 1px solid var(--line);
    background: #fbfcfe;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button--secondary {
    border: 1px solid #376fa8;
    background: #fff;
    color: #28588f;
}

.button--secondary:hover {
    border-color: #28588f;
    background: #eef4fa;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0 16px 30px;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}

.site-footer span::before {
    margin-right: 7px;
    content: "·";
}

@media (max-width: 640px) {
    .site-header__inner,
    .site-nav__inner,
    .page-shell {
        width: min(100% - 20px, 1120px);
    }

    .site-header__inner {
        min-height: 94px;
        padding: 12px 0;
    }

    .brand {
        flex-basis: 300px;
    }

    .brand__logo {
        height: 67px;
    }

    .site-heading {
        display: none;
    }

    .site-nav,
    .site-nav__inner {
        min-height: 44px;
    }

    .site-nav a {
        width: 100%;
        justify-content: center;
        padding: 0 12px;
        font-size: .8rem;
    }

    .page-shell {
        padding: 22px 0 40px;
    }

    .card {
        border-radius: 11px;
    }

    .card__heading {
        padding: 21px 18px 18px;
    }

    .data-table th,
    .data-table td {
        min-width: 118px;
        padding: 11px 12px;
    }

    .data-table th:first-child,
    .data-table td:first-child {
        min-width: 210px;
    }

    .actions {
        padding: 18px;
    }

    .button {
        width: 100%;
    }

    .site-footer {
        display: block;
    }

    .site-footer span {
        display: block;
    }

    .site-footer span::before {
        content: "";
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media print {
    body {
        padding: 0;
        background: #fff;
    }

    body::before,
    .site-nav,
    .actions {
        display: none;
    }

    .site-header,
    .card {
        box-shadow: none;
    }
}
