:root {
    --sidebar-width: 260px;
}

body {
    background: #f5f7fb;
    color: #1f2937;
}

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

.app-main {
    padding: 88px 24px 32px;
}

.auth-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.app-sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding-top: 64px;
}

.app-sidebar .offcanvas-body {
    padding: 18px;
}

.sidebar-title {
    color: #6b7280;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.app-sidebar .nav-link {
    color: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.app-sidebar .nav-link:hover {
    background: #eef2ff;
    color: #0d6efd;
}

.metric-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    height: 100%;
}

.metric-card .value {
    font-size: 1.65rem;
    font-weight: 800;
}

.table-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.form-label {
    color: #374151;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.shift-cell {
    min-width: 132px;
    height: 92px;
    vertical-align: top;
}

.badge-soft {
    background: #eef2ff;
    color: #3730a3;
}

@media (min-width: 992px) {
    .app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        transform: none !important;
        visibility: visible !important;
    }

    .app-main {
        margin-left: var(--sidebar-width);
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: #fff;
        color: #111827;
    }

    .navbar,
    .app-sidebar,
    .print-hide,
    .btn,
    .alert {
        display: none !important;
    }

    .app-main {
        margin: 0 !important;
        padding: 0 !important;
    }

    .table-card {
        border: 0;
        border-radius: 0;
        padding: 0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .report-grid {
        display: block;
    }

    .report-section {
        margin-bottom: 18px;
    }

    .table {
        font-size: 11px;
    }

    .table th,
    .table td {
        border-color: #d1d5db !important;
    }
}
