* {
    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;
}

/* Панель инструментов */
.toolbar {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}


.btn-new-client {
    background-color: #f7b781;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Поле поиска */
.search-box {
    position: relative;
    flex: 1;
    max-width: 450px;
}

.search-input {
    width: 100%;
    background-color: #e0e0e0;
    border: none;
    padding: 12px 15px 12px 45px;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.search-img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    opacity: 0.5;
}

/* Кнопка групповых действий */
.btn-bulk-actions {
    background: white;
    border: 1px solid #000;
    padding: 10px 25px;
    border-radius: 30px;
    margin-bottom: 40px;
    cursor: pointer;
    font-size: 14px;
}

/* Стили таблицы */
.clients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.clients-table th {
    text-align: left;
    padding: 15px 10px;
    font-size: 16px;
    border-bottom: 2px solid #333; /* Жирная линия под шапкой */
}

.clients-table td {
    padding: 15px 10px;
    font-size: 15px;
    border-bottom: 1px solid #ccc; /* Тонкая линия между строками */
}

/* Иконки действий*/
.actions-cell {
    display: flex;
    gap: 10px;
}

.action-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    transition: transform 0.2s;
}

.action-icon:hover {
    transform: scale(1.2);
}

.icon_btn_table {
    width: 25px;         
    height: 25px;
    object-fit: contain;
    
}