* {
    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;
}

/* Шапка и табы */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.top-tabs {
    display: flex;
    gap: 12px;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.notification-circle {
    background: #e67e22;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопка и поиск */
.actions-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-add-deal {
    background-color: #f7b781;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
}

.quick-search {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    width: 300px;
    outline: none;
}

/* Канбан доска */
.kanban-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.col-title {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 15px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 15px;
    background: #fff;
}

.col-title.highlight {
    border-color: #f7b781; 
}

/* Стилизация карточки */
.deal-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    border: 1px solid #f0f0f0;
}

.card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-date {
    font-size: 11px;
    color: #999;
}

.mini-icon {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    opacity: 0.7;
}

.card-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}

.card-price {
    font-size: 14px;
    color: #333;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 25px;
    border: none;
    background: #e0e0e0;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    opacity: 0.5;
}