/* General layout */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f8f8f8;
    color: #333;
}
.container {
    display: flex;
    height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 280px;
    background-color: #2e2e2e;
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.sidebar h2, .sidebar h3 {
    margin-top: 1rem;
}

/* User menu */
.user-menu {
    cursor: pointer;
    margin-bottom: 1rem;
}
.username {
    font-weight: bold;
    font-size: 1.2rem;
}
.dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #444;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
}
.dropdown-menu.show {
    display: flex;
}
.dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0;
}
.dropdown-menu a:hover {
    background-color: #555;
}

/* Add Task Button */
.add-task-btn {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #f06292;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

/* Search box */
.search-box {
    display: flex;
    margin-bottom: 1rem;
}
.search-box input {
    flex: 1;
    padding: 0.4rem;
}
.search-btn {
    background-color: #f06292;
    border: none;
    padding: 0.4rem;
    color: white;
    cursor: pointer;
}

/* Main navigation links */
.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
}
.main-nav a:hover {
    text-decoration: underline;
}

/* Favorites and projects list */
.favorites, .projects {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}
.project-item {
    position: relative;
    margin-bottom: 0.5rem;
}
.project-item span {
    cursor: pointer;
}

/* Project dropdown menu */
.project-menu {
    display: none;
    position: absolute;
    background-color: #444;
    padding: 0.5rem;
    top: 100%;
    left: 0;
    z-index: 100;
    border-radius: 5px;
}
.project-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.2rem 0;
}
.project-menu a:hover {
    background-color: #555;
}

/* Main content area */
.main-content {
    flex-grow: 1;
    padding: 2rem;
    background: #fff;
}
