body {
    min-height: 100vh;
}

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

.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar .nav-link {
    color: #3e4a5b;
    font-weight: 500;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background-color: #e9f4ff;
    color: #0d6efd;
}

.content {
    flex: 1;
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

.card-stat {
    border: 0;
    box-shadow: 0 0.5rem 1rem rgba(25, 44, 74, 0.08);
}

.login-card {
    max-width: 430px;
    margin: 0 auto;
}

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

.note-list {
    max-height: 350px;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}
