:root {
    --gray-color:  #1c1c1c;
    --grayhover-color: #4E4E4E ;
    --rasasi-color: #272727 ;
    --silver-color: #c0c0c0;
    --zard-color: #F6DA86;
    --zardhover-color: #b2914f;
    --spi-color: #ffffff;
}

body {
    background-color: var(--rasasi-color) !important;
    padding-top: 150px;
}
.sidebar {
    position: fixed;
    font-family: 'NewRudaw', 'rudawbold';
    top: 117px;
    bottom: 0;
    right: -350px;
    width: 350px;
    z-index: 996;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37) !important;
    transition: right 0.3s ease; /* Sidebar transition */
    will-change: right; /* Hint the browser about the change */
}

.sidebar.active {
    right: 0px; /* Adjust this if the sidebar is on the left */
}

#content {
    transition: margin-right 0.3s ease; /* Content transition */
    margin-right: 0;
    will-change: margin-right; /* Hint the browser about the change */
}

#content.sidebar-active {
    margin-right: 350px; /* Content moves to the left when sidebar is active */
}


.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.sidebar-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    display: flex;
    font-size: 20px;
    font-weight: 600;
    background-color: var(--zard-color); /* Silver background */
    color: #1c1c1c;
    transition: 0.3s;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 7px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: black; /* Icon color same as text */
    text-align: center;
}

.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link:active, .sidebar-nav .nav-link:focus {
    color: var(--spi-color);
    transform: translateY(-1px);
  }

.sidebar-nav .nav-content a {
    display: flex;
    justify-content: center; /* Center content in sub-links */
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: black;
    padding: 10px 0;
    transition: 0.3s;
}

.sidebar-nav .nav-content a:hover {
    background-color: var(--zard-color);
    color: var(--spi-color);

}
.hidden {
    display: none;
}

#sidebar-toggle {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#sidebar-toggle:hover {
    border: 1px solid #333;
    border-radius: 5px;
    transform: translateY(-1px);
    background-color: var(--grayhover-color);
}

h6 {
    font-weight: 600;
    color: #343a40;
    font-size: 18px;
}

.card {
    border-radius: 15px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    font-family: 'rudawbold' !important;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) !important;
    backdrop-filter: blur(10px) !important; /* Blur effect */
    -webkit-backdrop-filter: blur(10px) !important; /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18) !important; /* Transparent border */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37) !important; /* Shadow for depth */
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important; /* Enhanced shadow on hover */
}

.card-body {
    padding: 20px !important;
    text-align: center !important;
    position: relative !important;
    color: white !important; /* Ensure text color contrasts with background */
}

.card-icon {
    font-size: 1rem;
    color: var(--zard-color);
}
.card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0;
}
.card-description {
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
    margin-bottom: 0;
}
.mb-4 {
    margin-bottom: 24px;
}
@media (max-width: 767px) {
    .card {
        margin-bottom: 15px;
    }
}
canvas {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: block;
}


.select2-results__option {
    font-family: 'rudawbold';
    align-items: end;
    text-align: end;
}

/* Set the width of the Select2 container */
.select2-selection--single {
    height: 38px !important;
    line-height: 38px !important;  /* Ensure text is vertically centered */
    padding-top: 5px;
}
.select2-dropdown {
    max-height: 250px !important;  /* Limit dropdown height */
    overflow-y: scroll !important; /* Add scroll if content exceeds height */
}

.table td {
    word-wrap: break-word;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* For smaller screens, allow text to wrap */
@media (max-width: 768px) {
    .table td {
        white-space: normal; /* Allow text to wrap on smaller screens */
    }
}
.custom-table {
    background-color: var(--zard-color) !important;
    color:  var(--spi-color) !important;
  }


