:root {
    --sc-midnight: #0D1326;
    --sc-intelligence: #4F6BFF;
    --sc-wisdom: #8B5CF6;
    --sc-balance: #22D3B3;
    --sc-fog: #F5F7FA;
    --sc-text: #0D1326;
    --sc-muted: #5B6578;
    --rz-primary: #4F6BFF;
}

html, body {
    font-family: "Outfit", "Segoe UI", sans-serif;
    background: var(--sc-fog);
    color: var(--sc-text);
}

h1, h2, h3, h4, .navbar-brand, .brand-name {
    letter-spacing: -0.02em;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.brand-mark-jb {
    width: 2rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.45rem;
    background: linear-gradient(160deg, var(--sc-balance) 0%, var(--sc-intelligence) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.brand-tagline {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.brand-lockup-dark .brand-name {
    color: #fff;
}

.brand-lockup-dark .brand-tagline {
    color: #a5b4fc;
}

.sc-eyebrow {
    color: var(--sc-wisdom);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-title {
    letter-spacing: -0.02em;
    color: var(--sc-midnight);
}

.sc-card {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(13, 19, 38, 0.06);
}

.btn-sc-primary {
    background: var(--sc-intelligence);
    border-color: var(--sc-intelligence);
    color: #fff;
}

.btn-sc-primary:hover {
    background: #3b55e0;
    border-color: #3b55e0;
    color: #fff;
}

.btn-sc-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.65rem;
    padding: 0.3rem 0.75rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.form-control {
    border-radius: 0.65rem;
    border-color: #d7deea;
}

.form-control:focus {
    border-color: var(--sc-intelligence);
    box-shadow: 0 0 0 0.2rem rgba(79, 107, 255, 0.18);
}

.login-layout {
    background: var(--sc-fog);
}

.login-header-bar,
.login-footer {
    background: var(--sc-midnight) !important;
    border-color: transparent !important;
    color: rgba(245, 247, 250, 0.7);
}

.login-main {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 107, 255, 0.12), transparent 55%),
        var(--sc-fog);
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: #fff4e5;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
