/* STYLE.CSS */

/* CONTENT */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    /* Light background for contrast */
    /* overflow-x: hidden; */
    /* Disable horizontal scrolling */
    height: 100vh;
    overflow: hidden;
}

.center {
    margin: auto;
}

.main-content {
    margin-left: 250px;
    /* Same as the width of the sidebar */
    height: 100%;
    overflow-y: hidden;
    /* Enable vertical scrolling */
    min-width: 500px;
}

/* SIDEBAR */

.sidebar {
    box-shadow: 1px 0px 10px -1px black;
    width: 250px;
    background-color: #343a40;
    /* Dark background color */
    overflow-y: auto;
    /* Enable vertical scrolling */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for Internet Explorer/Edge */
    overflow-x: hidden;
    /* Disable horizontal scrolling */
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-image: linear-gradient(0deg, rgb(81, 88, 94), rgb(51, 58, 64));
    /* Dark background color */
    display: flex;
    flex-direction: column;
    border-right: 1px solid #212529;
    /* Darker border */

}

.sidebar::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Webkit (Chrome, Safari) */
}

.sidebar-header {
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: 0px 1px 10px -1px black;
    font-size: 24px;
    color: #f8f9fa;
    /* Light text color */
    text-align: center;
    border-bottom: 1px solid #17202A;
    position: fixed;
    top: 0;
    width: 250px;
    z-index: 9;
    background-color: #17202A;
}

.sidebar-footer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0px -1px 10px -1px black;
    text-shadow: 1px 1px 1px black;
    font-size: 14px;
    /* Light text color */
    /* Softer border */
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 250px;
    color: rgb(220, 220, 220);
    background-image: linear-gradient(rgb(81, 88, 94), rgb(51, 58, 64));
    z-index: 9;
}

.sidebar-content {
    flex-grow: 1;
    padding-top: 70px;
    padding-bottom: 52px;
}

.sidebar a,
.dropdown-btn {
    filter: drop-shadow(1px 1px 1px black);
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    color: rgb(220, 220, 220);
    /* Soft text color */
    display: flex;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
}

.sidebar a:hover,
.dropdown-btn:hover {
    color: #3296ff;
    /* Lighter text on hover */
    /* Darker background on hover */
}

.sidebar a i,
.dropdown-btn i {
    margin-right: 10px;
}

.dropdown-container {
    display: none;
    /* background-color: #495057; */
    /* Darker background for dropdowns */
    padding-left: 15px;
    border-top: 2px solid rgb(220, 220, 220);
    border-bottom: 2px solid rgb(220, 220, 220);
    padding-bottom: 2px;
    box-shadow: 10px 0px 10px -1px black;
}

.dropdown-btn .fas.fa-chevron-right {
    margin-left: auto;
    transition: transform 0.3s;
}

.dropdown-btn.active {
    color: #3296ff;
    /* background-color: #495057; */
}

.dropdown-btn.active .fas.fa-chevron-right {
    transform: rotate(90deg);
}