html, body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f1f4f9;
}

.page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #1f3a5f 0%, #16283f 100%);
    color: #fff;
    flex-shrink: 0;
}

.nav-brand {
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 1.1rem;
}

.nav-heading {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.45);
    margin-bottom: .25rem;
}

.nav-scroll { padding: .5rem 0; }

.sidebar .nav-link {
    color: rgba(255,255,255,.8);
    padding: .55rem 1rem;
    display: block;
    text-decoration: none;
    font-size: .95rem;
}

.sidebar .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.sidebar .nav-link.active {
    background: rgba(255,255,255,.16);
    color: #fff;
    border-left: 3px solid #4dabf7;
}

main { flex: 1; display: flex; flex-direction: column; }

.top-row {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #e3e6ea;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.content { flex: 1; }

.card { border: 1px solid #e3e6ea; }

.table td, .table th { vertical-align: middle; }

#blazor-error-ui {
    background: #ffefef;
    color: #b00;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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