body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

#sidebar {
    min-width: 280px;
    max-width: 280px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    background-color: rgba(239, 244, 249, 1);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 40;
}

.sidebar-hidden {
    min-width: 80px;
    max-width: 80px;
}

.sidebar-hidden .nav-link span {
    display: none;
}

.sidebar-hidden .dropdown-menu {
    display: none;
}

#sidebar .menu {
    font-size: 110%;
    overflow-y: auto;
    flex: 1;
}

#sidebar .menu li {
    margin-top: 13px;
}

#sidebar .menu li .active {
    color: #007bff;
    border: 1px solid gray;
    background-color: #f0f0f0;
}

.content-header {
    border-bottom: 1px solid #e0e0e0;
}

.card-feed {
    background-color: rgba(239, 244, 249, 1);
}

h4 {
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

ul.nav {
    padding-left: 0;
    flex-grow: 1;
}

ul.nav li a {
    color: #555555;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

ul.nav li a i {
    margin-right: 10px;
}

ul.nav li a:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

.dropdown-menu {
    border-radius: 5px;
}

.btn-primary {
    font-weight: 600;
}

.profile-section {
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.profile-section img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-section div {
    margin-left: 10px;
}

/* Custom Styles for File Upload */
.upload-container {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.upload-container:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
}

.upload-container i {
    font-size: 2em;
    color: #6c757d;
    margin-bottom: 15px;
}

.upload-container p {
    color: #6c757d;
    margin-bottom: 5px;
}

.upload-container small {
    color: #6c757d;
    display: block;
}

.upload-btn {
    font-weight: 600;
}

@media (max-width: 768px) {
    #sidebar {
        min-width: 100px;
        max-width: 100px;
    }

    #sidebar h4 {
        display: none;
    }

    #sidebar .nav-link span {
        display: none;
    }

    .sidebar-hidden .nav-link span {
        display: block;
    }
}
