html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --slx-bg: #081327;
    --slx-bg-2: #102142;
    --slx-surface: #132648;
    --slx-surface-2: #183055;
    --slx-border: #2c4d7b;
    --slx-text: #f5f8ff;
    --slx-muted: #b6c6e2;
    --slx-primary: #59a9ff;
    --slx-primary-2: #7ec0ff;
    --slx-gold: #f4c85b;
    --slx-gold-deep: #dca52a;
    --slx-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    --slx-radius: 22px;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: radial-gradient(circle at top right, rgba(89,169,255,.12), transparent 28%), radial-gradient(circle at top left, rgba(244,200,91,.10), transparent 24%), linear-gradient(180deg, var(--slx-bg) 0%, #09162d 100%);
    color: var(--slx-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: inherit;
}

.slx-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
}

.slx-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px 18px;
    border-right: 1px solid var(--slx-border);
    background: linear-gradient(180deg, rgba(19,38,72,.97) 0%, rgba(11,25,49,.98) 100%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.slx-brand {
    padding: 6px 4px 0 4px;
}

.slx-brand-link {
    display: inline-flex;
    text-decoration: none;
}

/* Sidebar logo (not currently used but kept for reference) */
.slx-logo {
    width: auto;
    max-width: 100%;
    height: 48px;
    display: block;
}

/* Topbar logo */
.slx-topbar-logo {
    height: 74px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.slx-nav {
    display: grid;
    gap: 10px;
}

.slx-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--slx-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--slx-text);
    background: rgba(255,255,255,.025);
    transition: transform .14s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

    .slx-nav-link:hover {
        transform: translateY(-1px);
        border-color: rgba(244,200,91,.56);
        background: rgba(89,169,255,.10);
        box-shadow: 0 10px 26px rgba(0,0,0,.18);
    }

    .slx-nav-link.active,
    .slx-mobile-link.active {
        border-color: rgba(244,200,91,.72);
        background: linear-gradient(135deg, rgba(89,169,255,.16) 0%, rgba(244,200,91,.15) 100%);
        box-shadow: inset 0 0 0 1px rgba(244,200,91,.18), 0 10px 26px rgba(0,0,0,.18);
    }

        .slx-nav-link.active .slx-nav-icon {
            box-shadow: 0 0 0 2px rgba(244,200,91,.2);
        }

.slx-nav-icon,
.slx-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slx-primary) 0%, var(--slx-gold) 100%);
    color: #0a1730;
    font-weight: 900;
    font-size: .95rem;
}

.slx-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.2rem;
}

.slx-side-note {
    margin-top: auto;
}

.slx-side-card,
.slx-mini-card,
.slx-card {
    padding: 16px;
    border: 1px solid var(--slx-border);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}

.slx-side-card {
    box-shadow: var(--slx-shadow);
}

.slx-side-k,
.slx-kicker,
.slx-stat-label {
    color: var(--slx-gold);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.slx-side-k,
.slx-kicker {
    margin-bottom: 10px;
}

.slx-side-v,
.slx-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--slx-text);
}

.slx-stat-value {
    color: var(--slx-primary-2);
    margin-bottom: 0;
}

.slx-side-card p,
.slx-mini-card p,
.slx-card p,
.slx-subtitle,
.slx-page-note,
.slx-note,
.slx-list,
.slx-topbar-subtitle {
    margin: 0;
    color: var(--slx-muted);
    line-height: 1.65;
}

.slx-main-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.slx-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 24px; /* reduced to give logo room */
    min-height: 110px; /* ensures topbar expands to fit logo */
    border-bottom: 1px solid var(--slx-border);
    backdrop-filter: blur(14px);
    background: rgba(8,19,39,.74);
    flex-wrap: wrap;
}

.slx-topbar-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.slx-topbar-tagline {
    font-size: 0.88rem; /* increased from 0.78rem */
    font-weight: 500;
    color: #7a95b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-left: 10px; /* increased from 2px to shift right */
}

.slx-topbar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slx-text);
}

.slx-top-btn,
.slx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.slx-top-btn,
.slx-btn-primary {
    color: #0a1730;
    background: linear-gradient(135deg, var(--slx-primary) 0%, var(--slx-gold) 100%);
}

.slx-btn-secondary {
    color: var(--slx-text);
    background: rgba(255,255,255,.03);
    border-color: var(--slx-border);
}

.slx-main-content {
    min-width: 0;
}

.slx-mobile-nav {
    display: none;
    width: 100%;
}

.slx-mobile-link {
    text-decoration: none;
}

.slx-page {
    max-width: 1180px;
    margin: 0 50px;
    padding: 28px 18px 48px 18px;
}

.slx-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.slx-hero-single {
    margin-bottom: 28px;
}

.slx-panel {
    background: linear-gradient(180deg, var(--slx-surface) 0%, var(--slx-surface-2) 100%);
    border: 1px solid var(--slx-border);
    border-radius: var(--slx-radius);
    box-shadow: var(--slx-shadow);
    overflow: hidden;
}

.slx-hero-copy,
.slx-side,
.slx-form-panel {
    padding: 28px;
}

.slx-hero-copy {
    position: relative;
    isolation: isolate;
}

    .slx-hero-copy::after {
        content: "";
        position: absolute;
        inset: auto -70px -90px auto;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(244,200,91,.16) 0%, rgba(244,200,91,0) 72%);
        z-index: -1;
    }

.slx-side {
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, rgba(89,169,255,.06) 0%, rgba(244,200,91,.05) 100%), var(--slx-surface);
}

.slx-brand-row,
.slx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.slx-brand-row {
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.slx-logo-hero {
    width: min(360px, 100%);
    height: auto;
    display: block;
}

.slx-title {
    margin: 0 0 10px 0;
    font-size: clamp(2.1rem, 4.5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--slx-text);
}

.slx-accent-a {
    color: var(--slx-primary-2);
}

.slx-accent-b {
    color: var(--slx-gold);
}

.slx-section-title {
    margin: 0 0 14px 0;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--slx-text);
}

.slx-card-grid {
    display: grid;
    gap: 18px;
}

.slx-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slx-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slx-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.slx-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
}

.slx-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    color: var(--slx-gold);
}

.slx-page-note {
    margin-top: 24px;
    font-size: .95rem;
}

.slx-contact-wrap {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 22px;
}

.slx-form-panel {
    background: linear-gradient(180deg, var(--slx-surface) 0%, var(--slx-surface-2) 100%);
}

.slx-field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.slx-list {
    margin: 18px 0 0 0;
    padding-left: 18px;
}

label {
    color: var(--slx-text);
    font-weight: 700;
    font-size: .95rem;
}

input, textarea, select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--slx-border);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: #0d1d39;
    color: var(--slx-text);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.slx-note,
.slx-note-panel {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(244,200,91,.08);
    border: 1px solid var(--slx-border);
    font-size: .95rem;
}

.slx-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.slx-auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--slx-border);
    background: rgba(255,255,255,.03);
    color: var(--slx-text);
    font-weight: 700;
}

.slx-auth-chip-muted {
    color: var(--slx-muted);
}

.slx-auth-dot,
.slx-auth-dot-muted {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: var(--slx-gold);
    box-shadow: 0 0 0 4px rgba(244,200,91,.12);
}

.slx-auth-dot-muted {
    background: var(--slx-primary);
    box-shadow: 0 0 0 4px rgba(89,169,255,.12);
}

@media (max-width: 980px) {
    .slx-shell {
        grid-template-columns: 1fr;
    }

    .slx-sidebar {
        display: none;
    }

    .slx-topbar {
        padding: 10px 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .slx-topbar-right {
        display: none;
    }

    .slx-mobile-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .slx-mobile-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 12px;
        border: 1px solid var(--slx-border);
        background: rgba(255,255,255,.03);
        color: var(--slx-text);
    }

    .slx-hero,
    .slx-card-grid-2,
    .slx-card-grid-3,
    .slx-card-grid-4,
    .slx-contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .slx-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .slx-hero-copy, .slx-side, .slx-form-panel {
        padding: 18px;
    }

    .slx-title {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .slx-topbar-logo {
        height: 120px; /* increase this — try 96px, 110px, or 120px */
        width: auto;
        display: block;
        flex-shrink: 0;
    }
}

.slx-validation {
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 4px;
}

.slx-note--success {
    color: #1a7a4a;
    font-weight: 600;
}

.slx-note--error {
    color: #c0392b;
    font-weight: 600;
}

@@media print {
    .slx-sidebar,
    .slx-topbar,
    .slx-mobile-nav {
        display: none !important;
    }

    .slx-shell {
        grid-template-columns: 1fr !important;
    }

    .slx-main-wrap {
        min-width: 0;
    }

    .slx-page {
        margin: 0 !important;
        padding: 12px !important;
    }

    body {
        background: white !important;
        color: #111 !important;
    }
}