* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial Regular', -apple-system, sans-serif;
    max-width: 100vw;
    
}

.body_background {
    display: flex;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.logo-container {
    padding: 30px 20px;
}

.logo-box {
    background: #fff;
    color: #000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    color: #b3b3b3;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu li.active {
    background-color: #2a2a2a;
}

.nav-menu li.active a {
    color: #fff;
}

.nav-menu li a:hover {
    background-color: #1a1a1a;
    color: #fff;
}

.icon {
    margin-right: 10px;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;

}

.settings-link {
    display: block;
    color: #b3b3b3;
    text-decoration: none;
    margin-bottom: 20px;
}

.user-profile {
    text-align: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.icons {
    color: #fff;
}

.user-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.logout-btn {
    color: #b3b3b3;
    font-size: 12px;
    text-decoration: none;
}

/* Выравнивание внутри кнопок */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 8px;            
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

/* Выравнивание внутри ссылок бокового меню */
.nav-menu li a {
    display: flex;      
    align-items: center; 
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

/* Настройка иконок-картинок */
.icon_btn {
    width: 30px;         
    height: 30px;
    object-fit: contain;
    
}

.icon_btn_sidebar{
    width: 30px;         
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
}

.icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.user-profile-link {
    text-decoration: none; 
    color: inherit;        
    display: block;        
    transition: opacity 0.3s ease;
}

.user-profile-link:hover {
    opacity: 0.8;          
}


.logout-btn {
    display: block;
    text-align: center;
    margin-top: 5px;
}

/* Main Content */
.main-content {
    flex: 1;
    background: #fff;
    margin: 20px;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 42px;
    margin-bottom: 25px;
}

/* Контейнер для верхней панели задач */
.tasks-toolbar {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}


.btn-task-new {
    background-color: #f7b781;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-task-new:hover {
    background-color: #f5a663;
}

.plus-icon {
    font-size: 20px;
    font-weight: bold;
}

/* Поисковая строка */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-input {
    width: 100%;
    background-color: #e0e0e0;
    border: none;
    padding: 12px 15px 12px 45px;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

/* Кнопка "Групповые действия" */
.tasks-actions {
    margin-top: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
}


.page-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 30px;
}