﻿.sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1045;
    background-color: #212529;
}

    .sidebar.show {
        transform: translateX(0);
    }

@media (min-width: 768px) {
    .sidebar {
        transform: none !important;
    }

    .main-content {
        margin-left: 250px;
    }
}

.main-content {
    padding: 1rem;
}

.nav-link.active,
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.bi {
    transition: transform 0.2s ease;
}




.gray-card {
    background-color: #f7f8fa;
    border-radius: 0.5rem;
}

.gray-table th,
.gray-table td {
    word-wrap: break-word;
    white-space: normal;
    vertical-align: middle;
}

/*@media (max-width: 768px) {
    .gray-table th,
    .gray-table td {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }
}*/






.sidebar {
    width: 260px;
    background-color: #212529;
    transition: transform 0.3s ease-in-out;
    z-index: 1045;
}

@media (max-width: 1399px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    body.sidebar-open {
        overflow: hidden;
    }
}


