 #chatSidebar::-webkit-scrollbar {
  width: 5px;               /* ширина scrollbar */
}
#chatSidebar::-webkit-scrollbar-track {
  background: #121212;        /* цвет дорожки */
}
.message.user-message {
    background-color: #375664!important;
}
#chatSidebar::-webkit-scrollbar-thumb {
  background-color: #333;    /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  border: 3px solid #333;  /* padding вокруг плашки */
}

/* Общие стили для CRM */
.crm-container { display: flex; flex-direction: column;  }
.crm-header { background-color: #333; color: white; padding: 10px; text-align: center; }
.crm-content { display: flex; flex-grow: 1;  }

/* Горизонтальное меню */
.crm-menu { background-color: #444; }
.crm-menu ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; }
.crm-menu li { margin: 0 10px; }
.crm-menu a { text-decoration: none; color: white; padding: 10px 15px; display: block; border-radius: 5px; }
.crm-menu a:hover { background-color: #555; }
.crm-menu a.active { background-color: #666; }

/* Основная область */
.crm-main { flex-grow: 1; padding: 10px;  }

/* Таблица заказов */
.orders-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.orders-table th, .orders-table td { border: 1px solid #ccc; padding: 8px; text-align: left; }


/* История заказа */
.order-history { padding: 10px; border: 1px solid #ccc; margin-bottom: 10px; }
.history-message { margin-bottom: 5px; padding: 8px; border-radius: 5px; }


/* Кнопка "Создать заказ" */
.create-order-button { padding: 10px 20px; background-color: #425460; color: white; border: none; border-radius: 5px; cursor: pointer; }
.create-order-button:hover { background-color: #007fff; }



/* Стили для модального окна создания/редактирования заказа */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); }
.modal-content { background-color: #343434; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 500px; border-radius: 5px; }
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; }
.close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; }
.modal-content label { display: block; margin-bottom: 5px; }
.modal-content input[type="text"], .modal-content input[type="date"], .modal-content textarea, .modal-content select { width: 100%; padding: 8px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.modal-content button { background-color: #425460; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; }
.modal-content button:hover { background-color: #007fff; }


/* Пример стилей для кнопки "Добавить" (в таблице) */
.add-response-button {
background: none;
border: none;
cursor: pointer;
padding: 0;
margin-left: 5px;
font-size: 16px; /* Размер иконки */
color: #425460; /* Цвет иконки */ /* Цвет для кнопки */
line-height: 1; /* Чтобы иконка была выравнена по вертикали */
}

.add-response-button:hover {
color: #0056b3; /* Цвет при наведении */
}

/* Стили для модального окна (если он еще не создан) */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4); /* Затемнение фона */
}

.modal-content {
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
border-radius: 5px;
}


.dark-theme {
background-color: #222; /* Темный фон */
color: #eee; /* Светлый текст */
}

.crm-container {
padding: 20px;
}

.crm-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.crm-menu ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}

.crm-menu li {
margin-right: 20px;
}

.crm-menu a {
text-decoration: none;
color: #ccc;
padding: 10px 15px;
border-radius: 5px;
transition: background-color 0.2s ease;
}

.crm-menu a:hover, .crm-menu a.active {
background-color: rgba(88, 150, 255, 0.2); /* Semi-transparent blue */
color: #fff;
}

.crm-content {
padding: 20px;
}

.orders-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}

.orders-table th, .orders-table td {
border: 1px solid #444; /* Темная граница */
padding: 8px;
text-align: left;
}

.orders-table th {
background-color: #333; /* Более темный фон для заголовков */
font-weight: bold;
}

.create-order-button, .blue-button {
background-color: #425460;
    color: white;
    border: none;
    padding: 5px 9px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    /* margin-bottom: 10px; */
    height: 33px;
    line-height: 17px;
}

.create-order-button:hover, .blue-button:hover {
background-color: #0056b3; /* Более темный синий при наведении */
}
.modal {
display: none; /* Скрыто по умолчанию */
position: fixed; /* Оставаться на месте */
z-index: 1; /* Расположить поверх контента */
left: 0;
top: 0;
width: 100%; /* Полная ширина */
height: 100%; /* Полная высота */
overflow: auto; /* Включить прокрутку, если необходимо */
background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
}

.modal-content {
background-color: #333; /* Темный фон для модального окна */
margin: 15% auto; /* 15% сверху и по центру */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Может быть больше или меньше, в зависимости от размера экрана */
border-radius: 5px;
position: relative; /* Для позиционирования кнопки закрытия */
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

/* Order Details Card Styles */
.order-details {
display: none;
margin-top: 20px;
background-color: #2d2d2d;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.order-card {
padding: 20px;
}

.order-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.back-button {
    background-color: #555;
    color: white;
    border: none;
    padding: 9px 4px 7px 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 10px;
}
.back-button i {
margin-right: 5px; /* Add some space between the icon and text */
}

.back-button:hover {
background-color: #777;
}

.print-button {
    background-color: #555;
    color: white;
    border: none;
    padding: 9px 4px 7px 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 10px;
}
.print-button i {
margin-right: 5px; /* Add some space between the icon and text */
}

.print-button:hover {
background-color: #777;
}
.edit-order-button {
margin-left: 10px;
}

.order-card-actions {
display: flex;
align-items: center;
}

.order-card-row {
display: flex;
margin-bottom: 10px;
}

.order-card-row .label {
font-weight: bold;
width: 150px;
margin-right: 10px;
}

.response-container {
display: flex;
align-items: center;
margin-bottom: 10px;
}

.response-container span {
flex-grow: 1; /* Allow text to take up remaining space */
padding: 8px;
border-radius: 4px;
background-color: #444;
}

.add-response-button {
margin-left: 10px;
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease;
}

.add-response-button:hover {
background-color: #0056b3;
}

#orderHistoryContainer {
margin-top: 20px;
padding: 10px;
border-radius: 8px;
background-color: #333;
}

.history-message {
padding: 10px;
border-radius: 5px;
margin-bottom: 5px;
word-wrap: break-word; /* Разрешаем перенос слов */
}

.client-message {
background-color: #4a4a4a;
color: #fff;

}

.manager-message {
background-color: #1e88e5; /* Синий для сообщений от менеджера */
color: #fff;
}
#filesList {
margin-top: 10px;
}
#filesList a {
color: #425460;
text-decoration: none;
margin-right: 10px;
}

#filesList a:hover {
text-decoration: underline;
}
.upload-files-container {
display: flex;
align-items: center;
margin-top: 10px;
}


@media (max-width:980px) {
    #settingsButton {
    right: 39px !important;
}
}
.spinner-container {
    background-color: #333;
     display:none;
    position: fixed;
    width: 100%;
    height: 100vh;
    padding: 25% 23%;
    z-index: 9999;
    opacity: 0.8;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    }
/* Кнопка меню (Оригинал, можно оставить) */
.menu-button {
position: fixed;
top: 20px;
left: 20px;
background-color: #202020; /* Темно-серый, как в Telegram */
color: #fff; /* Белый текст */
border: none;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
z-index: 1001;
border-radius: 5px;
}

/* Затемнение фона (Оригинал, можно оставить) */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный черный */
z-index: 9999;
display: none;
justify-content: center;
align-items: center;
}

/* Контейнер меню */
.menu {
background-color: #2c2c2c; /* Темно-серый, как в Telegram */
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Легкая тень */
text-align: center;
z-index: 1001;
width: 80%;
max-width: 400px;
position: relative;
}

/* Пункты меню */
.menu ul {
list-style: none;
padding: 0;
margin: 0;
}

.menu li {
padding: 10px 0;
border-bottom: 1px solid #383838; /* Более темный разделитель */
}

.menu li:last-child {
border-bottom: none;
}

.menu a {
text-decoration: none;
color: #fff; /* Белый текст для ссылок */
display: block;
padding: 10px;
transition: background-color 0.2s ease;
}

.menu a:hover {
background-color: #383838; /* Более темный фон при наведении */
}

/* Крестик */
.close-button {
position: absolute;
top: 10px;
right: 10px;
background-color: transparent;
border: none;
font-size: 20px;
color: #fff; /* Белый крестик */
cursor: pointer;
}

/* Анимация открытия/закрытия (Оригинал, можно оставить) */
.menu.closing {
animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
from { opacity: 0; transform: scale(0.8); }
to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
from { opacity: 1; transform: scale(1); }
to { opacity: 0; transform: scale(0.8); }
}

.menu.opening {
animation: fadeIn 0.3s forwards;
}

/* Адаптивность (Оригинал, можно оставить) */
@media (max-width: 768px) {
.menu {
width: 90%;
}
}

/* Существующий код... */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#userInput {
    margin-right: 7px;
}
@media (max-width: 980px) {
    body .logo1 img {
             position: fixed;
        top: 7px;
        width: 135px;
        left: 50%;
        z-index: 9;
        padding-left: 7px;
        padding-right: 8px;
        height: 27px;
        margin-left: -62px;
    }
}
body {
    
    font-family: Arial, sans-serif;
    background-color: #121212; /* Темный фон */
    color: #cbcbcb; /* Белый текст */
    display: flex;
    flex-direction: column;
    height: 100vh;
}

h1 {
    text-align: center;
    margin: 20px 0;
    display:none;
}
 /* Добавьте стили для таблицы */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #425460;
            color: white;
        }
        tr:hover {
    background-color: #2d2d2d;
}
.message.user-message {
background-color: #2a46ad;
    /* padding: 7px 14px 6px 9px; */
    border-bottom: 0px #6e6d6d solid!important;
    padding-bottom: 12px!important;
    color: #d3d3d3!important;
    margin-top: 10px!important;
    font-size: 15px;
    width: 90%;
    margin-left: 10%;
    padding: 7px 14px 6px 9px!important;
    border-radius: 13px!important;
    border-bottom-right-radius: 0px!important;
}
.message.ai-message {
background-color: #404040;
    width: 90%;
    /* padding: 7px 14px 6px 9px; */
    border-bottom: 0px #6e6d6d solid!important;
    padding-bottom: 12px!important;
    color: #d3d3d3!important;
    margin-top: 10px!important;
    font-size: 15px;
    padding: 7px 14px 6px 9px!important;
    border-radius: 13px!important;
    border-bottom-left-radius: 0px!important;
}
    .tyyt {
        background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%);
        padding: 8px 9px 8px 6px;
        border-radius: 20px;
    }
    
    
    .message.user-message {
  word-break: break-word;
    width: fit-content!important;
    margin-left: auto!important;
    }
     .message.ai-message {
  word-break: break-word;
    width: fit-content!important;
    }
    .namert {
        height: 22px;
    margin-top: 9px;
    position: absolute;
    /* margin: 0px auto; */
    right: 10px;
    top: 3px;
    z-index: 999;
    width: fit-content;
    }
        @media (max-width: 600px) {
            .namert {
    height: 22px;
    margin-top: 9px;
    position: fixed!important;
    /* margin: 0px auto; */
    right: 10px;
    top: 3px;
    z-index: 999;
    width: fit-content;
    }
          
            .topik {
                position: fixed;
        display: block !important;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 41px;
        background-color: #121212;
        z-index: 9;
            }
            .topik1 {
                 position: fixed;
        display: block !important;
        bottom: 0px;
        left: 0px;
        width: 100%;
        height: 41px;
        background-color: #121212;
        z-index: 9;
            }
            body {
                height:100vh!important;
                overflow: hidden!important;
            }
             body .dsa {
                top: 8px!important;
                color:#999!important;
    left: 5px!important;
    background-color: #121212!important;
    padding: 3px 12px;
    }
    #speakButton {
        display:none!important;
    }
           body #response {
    padding: 130px 1px 208px 7px !important;
    width: 98% !important;
    height: calc(100vh)!important;
    top: 0px!important;
}
            .message.ai-message, .message.user-message {
    font-size: 18px!important;
}
             .dsa {
    position: fixed!important;
    }
    body .cart-icon {
    position: fixed!important;
    }
            table, thead, tbody, th, td, tr {
                display: block;
            }
            th {
                display: none; /* Скрываем заголовки на мобильных устройствах */
            }
            tr {
                margin-bottom: 15px;
            }
            td {
                text-align: right;
                padding-left: 50%; /* Отступ для мобильных устройств */
                position: relative;
            }
            td:before {
                content: attr(data-label);
                position: absolute;
                left: 0;
                width: 50%;
                padding-left: 10px;
                text-align: left;
                font-weight: bold;
            }
            .logo img {
    left: 193px!important;
            }
        }
        .logo img {
            height: 22px;
    margin-top: 9px;
    position: fixed;
    margin: 0px auto;
    left: 0;
    right: 0;
    top: 10px;
        }
        .toor {
            text-align: center;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: block;
    width: 96%;
}
#chatToggle {
    opacity: 0.8;
}
#chatToggle:hover {
    opacity: 0.8;
}
#chatForm {
    max-width:1280px!important;
    margin: 0 auto;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 40px;
    left: 27px;
    right: 21px;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#userInput {
    flex-grow: 1;
    border: none;
    border-radius: 5px;
    padding: 10px;
    background-color: #2b2b2b; /* Фон поля ввода */
    color: #9f9d9d;
}
#searchForm {
    max-width:1280px!important;
    margin: 0 auto;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 40px;
    left: 27px;
    right: 21px;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#searchInput {
    flex-grow: 1;
    border: none;
    border-radius: 5px;
    padding: 10px;
    background-color: #2b2b2b; /* Фон поля ввода */
    color: #9f9d9d;
}
#cabinetButton {
    color: #999; /* Цвет текста */
    text-decoration: unset; /* Убираем подчеркивание */
    font-size: 11px; /* Размер шрифта */
    text-transform: uppercase; /* Преобразуем текст в верхний регистр */
}
/* Стили для кнопок */
button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

button svg {
    width: 24px;
    height: 24px;
    fill: #b0b0b0; /* Светло-серый цвет иконок */
}

button svg.rotate {
    transform: rotate(180deg); /* Поворачиваем стрелку на 180 градусов */
}
 #userInput {
        height: 50px;
        font-size: 18px;
        
    }
     #searchInput {
        height: 50px;
        font-size: 18px;
        
    }
/* Адаптивность для мобильных устройств */

@media (min-width:1350px) {
    #response {
    background-color: #1a1a1a;
    }
}
@media (max-width: 980px) {
    #response {
   
    width: 95%!important;
    }
    .user-info {
    width: 96% !important;
        margin: 10px auto !important;
        padding: 10px !important;
    background-color: #1e1e1e;
    border-radius: 5px;
}
    body button {
    padding: 0 3px;
}
    body #chatForm {
    left: 5px;
    right: 5px;
    }
    #userInput {
        height: 50px;
        font-size: 18px;
        width: calc(100% - 70px); /* Уменьшаем ширину ввода, чтобы учесть ширину кнопок */
    }
    body #searchForm {
    left: 5px;
    right: 5px;
    }
    #searchInput {
        height: 50px;
        font-size: 18px;
        width: calc(100% - 70px); /* Уменьшаем ширину ввода, чтобы учесть ширину кнопок */
    }
    
    #response img {
    width:100%!important;
}
    
    
    
    
    
}
 #response h3,#response h2 {
    margin-top:30px;
}

#response {
    padding: 20px!important;
    border-radius: 10px;
    max-width:1280px!important;
    margin: 0 auto;
    width: 100%;
    padding: 48px;
    height: calc(100vh - 156px);
    position: relative;
    top: 46px;
    overflow-x: hidden;
    overflow-y: auto;
}
.message.user-message {
    text-align: right;
    border-bottom: 1px #6e6d6d solid;
    padding-bottom: 12px;
    color: #adacac;
    margin-top: 10px;
    font-size: 15px;
}
.message.ai-message {
    overflow-wrap: break-word;
    text-align: left;
    border-bottom: 1px #6e6d6d solid;
    padding-bottom: 12px;
    color: #adacac;
    margin-top: 10px;
    font-size: 15px;
}


/* Стили для индикатора загрузки */
#loadingIndicator {
    display: none; /* Скрываем индикатор по умолчанию */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #565656;
    border-top: 8px solid #424242;
    border-radius: 50%;
    width: 50px;
    margin-left: -25px;
    margin-top: -25px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.sound-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    color: lightgray; /* Цвет иконки */
    transition: color 0.3s;
}

.sound-icon.active {
    color: red; /* Цвет иконки при отключении озвучки */
    text-decoration: line-through; /* Перечеркивание */
}
  .logout-icon {
            position: fixed;
            top: 10px;
            right: 10px;
            cursor: pointer;
            width: 30px;
            height: 30px;
            transition: transform 0.2s;
        }
        .logout-icon:hover {
            transform: scale(1.1);
        }
        .dsa {
    position: absolute;
    left: 0px;
    top: 15px;
    z-index: 990;
    color: #999;
    text-decoration: unset;
        font-size: 11px;
    line-height: 19px;
    text-transform: uppercase;

}
#response::-webkit-scrollbar {
  width: 5px;               /* ширина scrollbar */
}
#response::-webkit-scrollbar-track {
  background: #121212;        /* цвет дорожки */
}
#response::-webkit-scrollbar-thumb {
  background-color: #333;    /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  border: 3px solid #333;  /* padding вокруг плашки */
}
body::-webkit-scrollbar {
  width: 5px;               /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
  background: #121212;        /* цвет дорожки */
}
body::-webkit-scrollbar-thumb {
  background-color: #333;    /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  border: 3px solid #333;  /* padding вокруг плашки */
}
#response img {
    padding-top: 15px;
    padding-bottom: 15px;
}
#settingsModal {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2e2e2e;
    padding: 20px;
    border: 1px solid rgb(88 87 87);
    z-index: 1000;
}
/* Стили для модального окна настроек */
#settingsModal {
    display: none; /* Скрываем модальное окно по умолчанию */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2e2e2e; /* Темный фон */
    padding: 20px;
    border: 1px solid rgb(88, 87, 87);
    z-index: 1000;
    border-radius: 8px; /* Закругленные углы */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Тень для модального окна */
    width: 90%; /* Ширина модального окна */
    max-width: 400px; /* Максимальная ширина для больших экранов */
}

/* Стили для заголовка модального окна */
#settingsModal h2 {
    margin-bottom: 10px; /* Отступ снизу */
    color: #cbcbcb; /* Цвет заголовка */
}

/* Стили для полей ввода */
#settingsModal input[type="text"],
#settingsModal input[type="password"],
#settingsModal input[type="number"] {
    width: 100%; /* Полная ширина */
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    background-color: #444; /* Цвет фона полей ввода */
    color: #cbcbcb; /* Цвет текста */
}
body .create-order-button,body  .blue-button {
    background-color: #425460!important;
}
.dashboard-card i {
    color: #425460!important;
}
.dashboard-card:hover {
    color: #425460!important;
}
.crm-content button {
    background: #425460!important;
}
/* Стили для кнопок в модальном окне */
#settingsModal button, .admin-button {
background-color: #425460;
    color: white;
    border: none;
    font-size: 15px;
    text-decoration: unset;
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

#settingsModal button:hover, .admin-button:hover {
    background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%); /* Цвет кнопки при наведении */
}
/* Стили для кнопок в модальном окне */
.add-to-cart, .edit-button {
    background-color: #425460; /* Цвет кнопок */
    color: white; /* Цвет текста */
    border: none;
    font-size: 11px;
    height: 16px;
    line-height: 0px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 75px;
}

.add-to-cart:hover, .edit-button:hover {
    background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%); /* Цвет кнопки при наведении */
}
.svyaz {
    background-color: #425460; /* Цвет кнопок */
    color: white; /* Цвет текста */
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Полная ширина кнопок */
}

.svyaz:hover {
    background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%); /* Цвет кнопки при наведении */
}
/* Стили для кнопок в модальном окне */
#checkoutButton {
    background-color: #425460; /* Цвет кнопок */
    color: white; /* Цвет текста */
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 150px; /* Полная ширина кнопок */
}

#checkoutButton:hover {
    background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%); /* Цвет кнопки при наведении */
}
.hjkd {
    
    width:100%;
    text-align:center;
}
#rejj {
    position: relative;
    text-align: right;
    width: 100%;
    display: block;
    margin-bottom: -10px;
    margin-top: 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: #a1a1a1;
    text-decoration: unset;
}
.user-info a {
    color:#fff;
}
.cart-icon {
    position: fixed;
    top: 16px!important;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

#cartCount {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -10px;
    right: -10px;
}

.user-info {
    width: 50%;
    margin: 20px auto;
    padding: 41px;
    background-color: #1e1e1e;
    border-radius: 5px;
}
.user-info h2 {
    text-align: center;
}
.user-info label {
    display: block; /* Отображаем метки как блочные элементы */
    margin-top: 10px; /* Отступ сверху */
    color: #cbcbcb; /* Цвет текста */
}

.user-info input {
    width: 100%; /* Полная ширина */
    padding: 10px; /* Отступ внутри поля */
    margin-top: 5px; /* Отступ сверху */
    border: none; /* Убираем границу */
    border-radius: 4px; /* Закругленные углы */
    background-color: #444; /* Цвет фона полей ввода */
    color: #cbcbcb; /* Цвет текста */
}

/* Стили для выезжающей панели с чатами */
#chatSidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Скрываем панель за пределами экрана */
    width: 250px;
    height: 100%;
    background-color: #121212; /* Темный фон */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease; /* Плавный переход */
    z-index: 1005; /* Поверх других элементов */
    overflow-y: auto; /* Прокрутка при необходимости */
}

/* Кнопка для открытия панели */
#chatToggle {
    position: fixed;
    top: 50%;
    left: 0px;
    background-color: #484848;
    color: white;
    border: none;
    margin-left:0px;
    transition: left 0.3s ease; /* Плавный переход */
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}
/* Стили для списка чатов */
#chatList1 {
    list-style: none; /* Убираем маркеры списка */
    padding: 0px 10px;
    margin: 0;
}

#chatList1 li {
    padding: 4px;
    border-bottom: 1px solid #444; /* Разделитель между чатами */
    cursor: pointer;
    color: #cbcbcb; /* Цвет текста */
}
/* Стили для списка чатов */
#chatList {
    list-style: none; /* Убираем маркеры списка */
    padding: 10px;
    margin: 0;
}

#chatList li {
    padding: 4px;
    border-bottom:  1px solid #2a2a2a; /* Разделитель между чатами */
    cursor: pointer;
    color: #cbcbcb; /* Цвет текста */
}


/* Стили для поиска пользователей */
#searchUser {
    /* margin: 2% 2%; */
    width: 92%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: #cbcbcb;
    margin-bottom: 10px;
    margin: 2% 4% 0% 4%;
}
/* Стили для контейнера чата */
#chatContainer {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Полная высота экрана */
   /* margin-left: 250px;  Отступ для выезжающей панели */
    transition: margin-left 0.3s ease; /* Плавный переход */
}


.notification-indicator {
    position: absolute;
    right: 18px;
}
#chatList li a:hover {
     background: linear-gradient(354deg, #425460 0%, #285572 35%, #1c5c87 100%); /* Цвет кнопки */
    
}
#chatList li a {
    /*background-color: #2e2e2e;*/
    color: #cdcdcd;
    border: none;
    text-decoration: unset;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    margin-left: 0px;
    width: 100%;
    display: block;
    text-align: left;
    padding-left: 40px;
}
#chatList1 li a:hover {
     background-color: #425460; /* Цвет кнопки */
    
}
#chatList1 li a {
    background-color: #525252;
    color: #cdcdcd;
    border: none;
    text-decoration: unset;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    margin-left: 0px;
    width: 100%;
    display: block;
    text-align: center;
}
.no-border {
    border-bottom: 0px!important; /* Убираем нижнюю границу */
}
.date-header {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #787878;
    margin-top: 13px;

}
.fa-solid, .fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
}
#toggleButtontre .fa-solid, #toggleButtontre  .fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
}
 .fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
}
#cartCount {
    padding: 1px 4px;
    font-size: 9px;
    top: -8px;
    right: -8px;
}
.fa-solid, .fas {
    color: #9d9d9d;
}
/* Стили для таблицы */
#response table {
    width: 100%;
    border-collapse: collapse; /* Убираем двойные границы */
}

#response th, #response td {
    padding: 4px 4px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
}

#footer {
   max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    display: block;
    bottom: 0px;
    font-size: 12px;
    color: #666;
   left: 11px;
    bottom: 11px;
}
#toggleButtontre {
margin-top: 2px;
    padding: 4px;
    background-color: #484848;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    bottom: 8px;
    right: 21px;
    display: block;
    float: right;
    }


input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #444 inset; /* можно изменить на любой вариант цвета */
    -webkit-text-fill-color: #999;
}
#requestPermissionButton {
margin-top: 2px;
    padding: 4px;
    background-color: #484848;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    bottom: 8px;
    right: 33px;
    display: block;
    float: right;
    }
#chatToggle1 {
margin-top: 2px;
    padding: 4px;
    background-color: #484848;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    }





