.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 270px;
    height: 100%;
    background-color: #f6f7f9;
    padding-top: 50px; /* Adjust based on your header height */
    color: #fff;
}

    /* Styles for sidebar links */
    .sidebar ul {
        list-style-type: none;
        padding: 0;
    }

.brand-logo {
    margin-bottom: 2rem;
}

img {
    width: 150px;
}

body {
    background: #eef2f6;
}

#sidebar .brand-logo {
    margin: 2.25rem 0 1.5rem;
}

#sidebar .brand-logo img {
    width: 142px;
}

#sidebar .nav-main {
    padding: 0 0.75rem 1.5rem;
}

#sidebar .nav-main-link {
    border-radius: 6px;
    color: #1f3348;
    min-height: 38px;
    padding: 0.55rem 0.85rem;
}

#sidebar .nav-main-link:hover,
#sidebar .nav-main-link.active {
    background: #eaf4ff;
    color: #086eb8;
}

#sidebar .nav-main-link-icon {
    color: #718195;
    margin-right: 0.65rem;
}

#sidebar .nav-main-link.active .nav-main-link-icon,
#sidebar .nav-main-link:hover .nav-main-link-icon {
    color: #087dc2;
}

#sidebar .nav-main-separator {
    border-top: 1px solid #e2e8ef;
    height: 1px;
    list-style: none;
    margin: 0.65rem 0;
}

.content {
    padding-top: 2rem;
}

.report-page {
    max-width: 1080px;
    margin: 0 auto;
}

.report-toolbar,
.report-results {
    background: #fff;
    border: 1px solid #dde5ee;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(31, 51, 72, 0.05);
}

.report-toolbar {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
}

.report-toolbar h1 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0;
}

.report-date-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.report-date-controls label {
    color: #526272;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.report-date-controls .form-control {
    width: 150px;
}

.report-date-arrow {
    align-items: center;
    background: #f2f5f8;
    border: 1px solid #d8e1ea;
    border-radius: 6px;
    color: #27384a;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.report-results {
    margin-top: 1rem;
    overflow: hidden;
}

.report-results-header {
    align-items: center;
    border-bottom: 1px solid #e4ebf2;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.report-results-header h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.report-table-wrap {
    overflow-x: auto;
    padding: 0 1.5rem 1.25rem;
}

.report-table-tools {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1rem 1.5rem 0.75rem;
}

.report-table-tools .dataTables_filter {
    margin-left: auto;
}

.report-table-tools .dataTables_filter input {
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    min-width: 250px;
    padding: 0.45rem 0.65rem;
}

.report-table {
    margin-bottom: 0;
}

.report-table thead th {
    background: #f7f9fb;
    border-bottom: 1px solid #dce5ee;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

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

.store-summary-row {
    cursor: pointer;
}

.store-summary-row.shown {
    background: #eef7ff;
}

.store-expand-btn {
    align-items: center;
    background: #e8f2fb;
    border: 1px solid #c6dced;
    border-radius: 6px;
    color: #087dc2;
    display: inline-flex;
    height: 26px;
    justify-content: center;
    margin-right: 0.55rem;
    width: 26px;
}

.store-expand-btn i {
    display: block;
    font-size: 0.82rem;
    line-height: 1;
}

.standalone-store-control::before,
.standalone-store-control::after {
    content: none !important;
}

.zero-value-report {
    border-top: 1px solid #dce5ee;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.zero-value-report-title {
    color: #5b6978;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.zero-value-report-table-wrap {
    max-height: 320px;
    overflow: auto;
}

.zero-value-report-table {
    color: #6a7480;
    margin-bottom: 0;
}

.zero-value-report-table thead th {
    background: #f5f8fb;
}

.terminal-detail-panel {
    background: #f8fbfe;
    border: 1px solid #dbe7f2;
    border-radius: 8px;
    margin: 0.75rem 0.25rem;
    padding: 0.85rem;
}

.terminal-detail-title {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.terminal-detail-table thead th {
    background: #edf4fb;
    color: #455568;
    font-size: 0.75rem;
}

.terminal-detail-empty,
.terminal-detail-loading,
.terminal-detail-error {
    border-radius: 6px;
    margin: 0.75rem 0.25rem;
    padding: 0.85rem 1rem;
}

.terminal-detail-empty,
.terminal-detail-loading {
    background: #f6f8fb;
    color: #526272;
}

.terminal-detail-error {
    background: #fff1f1;
    color: #b42318;
}

@media (max-width: 760px) {
    .report-toolbar {
        padding: 1.1rem;
    }

    .report-date-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .report-date-controls .form-control,
    .report-date-controls .btn {
        width: 100%;
    }

    .report-date-arrow {
        display: none;
    }
}



