/* sidebar.css */

.dd-sidebar {
    width: 200px;
    padding: 10px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px !important;
}

.dd-sidebar-top {
    display: flex;
    flex-direction: column;
}

.dd-sidebar-logo {
    margin-bottom: 20px;
}

.dd-sidebar-logo img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: auto;
}

.dd-sidebar-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dd-sidebar-links li {
    margin-bottom: 10px;
}

.dd-sidebar-links li a {
    text-decoration: none;
    color: #495057;
}

.dd-sidebar-links li a:hover {
    color: #212529;
}

.dd-sidebar-bottom {
    margin-top: 20px;
}

.dd-sidebar-logout {
    margin-top: 20px;
    list-style-type: none;
}

/* Responsive styles for smaller devices */
@media (max-width: 768px) {
    .dd-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .dd-sidebar-logo img {
        max-width: 30%;
    }

    .dd-sidebar-logout {
        text-align: left;
    }
}
