:root {
    --wtc-blue: #2563eb;
    --wtc-blue-soft: #eaf3ff;
    --wtc-blue-border: #b8d9ff;
    --wtc-slate: #1f2937;
    --wtc-muted: #64748b;
}

body {
    background: #f7fbff;
    color: var(--wtc-slate);
    min-height: 100vh;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand,
.text-slate {
    color: var(--wtc-slate);
}

.btn-primary {
    background: var(--wtc-blue);
    border-color: var(--wtc-blue);
}

.hero-band {
    background: linear-gradient(180deg, #edf7ff 0%, #f7fbff 100%);
    border-bottom: 1px solid #dbeafe;
}

.status-panel,
.form-shell {
    background: #ffffff;
    border: 1px solid #d7e8fb;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
    padding: 1.5rem;
}

.form-shell {
    max-width: 760px;
    margin: 0 auto;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf2f7;
}

.status-row:last-of-type {
    border-bottom: 0;
}

.empty-state {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px dashed var(--wtc-blue-border);
    border-radius: 8px;
    padding: 1.25rem;
}

.empty-state i {
    color: var(--wtc-blue);
    font-size: 1.75rem;
}

.content-block {
    background: #ffffff;
    border: 1px solid #d7e8fb;
    border-radius: 8px;
    padding: 1.5rem;
}

.content-block-body {
    white-space: pre-wrap;
}

.content-block-body p,
.content-block-body ul,
.content-block-body ol,
.content-block-body blockquote,
.content-block-body h2,
.content-block-body h3,
.content-block-body img {
    margin-bottom: 1rem;
    white-space: normal;
}

.content-block-body ul,
.content-block-body ol {
    padding-left: 1.5rem;
}

.content-block-body blockquote {
    border-left: 0.25rem solid var(--wtc-blue-border);
    color: var(--wtc-muted);
    padding: 0.25rem 0 0.25rem 1rem;
}

.content-block-body img {
    display: block;
    height: auto;
    max-width: 100%;
}

.training-content {
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.training-content > :first-child {
    margin-top: 0;
}

.training-content > :last-child {
    margin-bottom: 0;
}

.training-content p,
.training-content ul,
.training-content ol,
.training-content blockquote,
.training-content h2,
.training-content h3,
.training-content img {
    margin-bottom: 1rem;
}

.training-content ul,
.training-content ol {
    padding-left: 1.5rem;
}

.training-content li + li {
    margin-top: 0.35rem;
}

.training-content h2 {
    font-size: 1.5rem;
    margin-top: 1.75rem;
}

.training-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.training-content blockquote {
    border-left: 0.25rem solid var(--wtc-blue-border);
    color: var(--wtc-muted);
    padding: 0.25rem 0 0.25rem 1rem;
}

.training-content img {
    display: block;
    height: auto;
    max-width: 100%;
}

.training-content a {
    overflow-wrap: anywhere;
}

.table {
    background: #ffffff;
    border: 1px solid #d7e8fb;
}

.language-switch .dropdown-menu {
    min-width: 8rem;
}

.skip-link {
    background: #111827;
    color: #fff;
    left: 1rem;
    padding: 0.75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 1100;
}

.skip-link:focus {
    top: 1rem;
}

.navbar-brand i,
.site-footer-brand i {
    color: #087f5b;
}

.navbar .nav-link {
    color: #334155;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
    color: #1746a2;
}

.site-footer {
    background: #14213d;
    color: #dbe5f3;
    padding: 3rem 0 1.25rem;
}

.site-footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.site-footer p {
    color: #b9c8dc;
    margin: 0;
    max-width: 34rem;
}

.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer a {
    color: #edf5ff;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #8ee3c0;
    text-decoration: underline;
}

.site-footer-brand {
    align-items: center;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.site-footer-bottom {
    border-top: 1px solid #32415f;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    color: #aebed2;
    font-size: 0.875rem;
}

@media (max-width: 767.98px) {
    .site-header {
        position: static;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

.environment-banner {
    background: #7a1f1f;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.5rem 0;
    text-align: center;
}
