/* «Исправно» — базовые стили поверх Bootstrap 5 */

:root {
    --ispravno-sidebar-width: 250px;
}

body {
    background-color: #f5f7fa;
    font-size: 0.95rem;
}

.sidebar {
    width: var(--ispravno-sidebar-width);
    min-height: 100vh;
    background: #22303f;
    color: #cfd8e3;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.sidebar .brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar .nav-link {
    color: #cfd8e3;
    padding: 0.6rem 1.25rem;
    border-radius: 0;
}

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

.sidebar .nav-link.active {
    color: #fff;
    background: #2e65a7;
}

.sidebar .nav-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8fa1b5;
    padding: 0.9rem 1.25rem 0.3rem;
}

.sidebar .user-box {
    margin-top: auto;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.content {
    margin-left: var(--ispravno-sidebar-width);
    padding: 1.5rem 2rem 3rem;
    max-width: 1400px;
}

.card {
    border: 1px solid #e3e8ef;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.card-header {
    background: #fbfcfe;
    font-weight: 600;
}

.table thead th {
    background: #f1f4f8;
    color: #4a5568;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e3e8ef;
}

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

.badge {
    font-weight: 500;
}

.history-item {
    padding: 0.55rem 0;
    border-bottom: 1px dashed #e3e8ef;
}

.history-item:last-child {
    border-bottom: none;
}

.comment-item {
    padding: 0.75rem 1rem;
    background: #f8f9fb;
    border: 1px solid #e3e8ef;
    border-radius: 0.4rem;
}

.empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #6b7a8d;
}
