body {
    font-family: Arial, sans-serif;
    background: rgb(60, 145, 255);
    /*background: rgb(7, 7, 18);*/
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('4.jpg'); /* Указываем путь к изображению */
    background-size: cover; /* Картинка будет растягиваться, чтобы покрыть весь экран */
    background-position: center; /* Центрируем картинку */
    background-attachment: fixed; /* Картинка не будет двигаться при прокрутке страницы */
    background-repeat: no-repeat; /* Картинка не будет повторяться */
    /*height: 100vh;*/
}
input:focus{
    outline: none;
}
/*#header {*/
.menu-items {
    /*height: 90vh;*/
    padding: 10px;
    width: 70%;
    background: rgba(255, 255, 255, 0.2); /* Полупрозрачный цвет */
    backdrop-filter: blur(10px);
    color: #000000;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.main-container {
    width: 95%;
    max-width: 1200px;
    height: 95vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.edge-click-area {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edge-click-area:hover {
    opacity: 0.1;
    background: rgba(255, 255, 255, 0.2);
}

.edge-click-left {
    left: 0;
}

.edge-click-right {
    right: 0;
}

.main-screens {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-screen {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 20px;
    text-align: center;
    min-height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
}

.main-screen::-webkit-scrollbar {
    width: 6px;
}

.main-screen::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.main-screen::-webkit-scrollbar-thumb {
    background: rgba(50, 50, 214, 0.3);
    border-radius: 3px;
}

.main-screen h1 {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.main-screen .items {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.main-screen form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 15px;
    align-items: start;
}

.main-screen form .full-width {
    grid-column: 1 / -1;
}

.main-screen button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin: 10px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-screen button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.main-screen button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.pagination-dot.active {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#ressenders, #ressenders-all {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#ressenders::-webkit-scrollbar, #ressenders-all::-webkit-scrollbar {
    width: 6px;
}

#ressenders::-webkit-scrollbar-track, #ressenders-all::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#ressenders::-webkit-scrollbar-thumb, #ressenders-all::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

select {
    background: rgba(255, 255, 255, 0.15);
    height: 35px;
    appearance: none;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

select:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.25);
}

select option {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.area-input {
    padding: 1px;
    margin-bottom: 0px;
    text-align: left;
    font-weight: 500;
    color: #000;
    font-size: 13px;
}

.area-input input {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.area-input input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.area-input input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.area-input-date {
    padding: 1px;
    margin-bottom: 0px;
    text-align: left;
    font-weight: 500;
    color: #000;
    font-size: 13px;
}

.area-input-date input {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.area-input-date input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.area-input-text {
    padding: 1px;
    margin-bottom: 0px;
    text-align: left;
    font-weight: 500;
    color: #000;
    font-size: 13px;
}

.area-input-text input {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.area-input-text input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.area-input-text input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

#visits, #visits-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0px;
    grid-column: 1 / -1;
}

#date-visit, #date-visit-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0px;
    grid-column: 1 / -1;
}

#date-event, #date-event-main, #button-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0px;
    grid-column: 1 / -1;
}

#link-image input, #link-image-main input {
    width: 100%;
}

.button-tg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0px;
    grid-column: 1 / -1;
}

.button-tg input {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.button-tg input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.button-tg input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.area-input-link {
    padding: 1px;
    margin-bottom: 0px;
    text-align: left;
    font-weight: 500;
    color: #000;
    font-size: 13px;
}

.area-input-link input {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.area-input-link input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.area-input-link input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

textarea {
    width: 100% !important;
    height: 150px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: none;
    font-family: Arial, sans-serif;
    backdrop-filter: blur(10px);
}

textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

textarea::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

/* Адаптивный дизайн для мобильных устройств */
@media (max-width: 768px) {
    .main-container {
        width: 98%;
        height: 98vh;
        margin: 1vh auto;
    }
    
    .main-screen {
        padding: 20px 15px;
    }
    
    .main-screen h1 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .main-screen form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    #visits-main, #date-visit-main, #date-event-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .button-tg {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    textarea {
        height: 100px;
    }
    
    .main-pagination {
        bottom: 15px;
    }
}

/* Анимация для кнопок */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.main-screen button:active {
    animation: pulse 0.3s ease;
}

/* Размытие и затемнение страницы */
.blur-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}

/* Модальное окно */
.modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #000;
    max-width: 400px;
    width: 90%;
}

/* Кнопка закрытия */
.modal button {
    margin-top: 20px;
    padding: 12px 24px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

#phoneModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

#phoneModal > div {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #000000;
    max-width: 400px;
    width: 90%;
}

#phoneModal h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #000000;
}

#phoneModal input, #phoneInput, #codeInput {
    width: 80%;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 16px;
    color: #000;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

#phoneModal input:focus, #phoneInput:focus, #codeInput:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.25);
}

#phoneModal input::placeholder, #phoneInput::placeholder, #codeInput::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

#phoneModal button, #phoneSubmit, #codeSubmit {
    margin-top: 20px;
    padding: 12px 24px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#phoneModal button:hover, #phoneSubmit:hover, #codeSubmit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

#phoneModal a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#phoneModal a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.alerts {
    color: #ff4444;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}


#show-ressenders {
    background: rgba(255, 255, 255, 0.2); /* Полупрозрачный цвет */
    backdrop-filter: blur(10px);
    color: #000000;
    height: 80vh;
    /*display: none;*/
    display: flex;
    min-width: 95%;
    max-width: 95%; /* Ограничиваем ширину блока */
    overflow-x: auto; /* Добавляем горизонтальную прокрутку, если таблица большая */
    overflow-y: auto; /* Добавляем горизонтальную прокрутку, если таблица большая */
    border-radius: 10px;
    flex-direction: column;
    justify-content: space-between; /* Размещает элементы сверху и снизу */

    padding: 10px;
}


#button-create-res {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 10px; /* Фиксируем внизу */
    left: 50%; /* Центрируем по горизонтали */
    transform: translateX(-50%); /* Корректируем смещение */
    width: 100%; /* Растягиваем по ширине */
    text-align: center;
    padding: 10px;
    /*background: rgba(255, 255, 255, 0.3); !* Лёгкий фон *!*/
}

#show-ressenders button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background: #3232d6;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
#show-ressenders button:hover {
    background: #16169e;
}

#sendersTable {
    width: 100%; /* Подгоняем ширину таблицы под контейнер */
    border-collapse: collapse; /* Убираем промежутки между ячейками */
    table-layout: auto; /* Автоматическая подгонка столбцов */
    /*table-layout: fixed; !* Автоматическая подгонка столбцов *!*/
}

#sendersTable thead {
    position: sticky; /* Закрепляем элемент */
    top: 0; /* Ставим шапку в верхнюю часть контейнера */
    /*background-color: rgba(255, 255, 255, 0.8); !* Полупрозрачный фон, чтобы шапка выделялась *!*/
    z-index: 1; /* Устанавливаем z-index, чтобы шапка не скрывалась за содержимым */
}

#sendersTable th, #sendersTable td {
    text-align: center;
    padding: 8px; /* Отступы внутри ячеек */
    /*justify-content: start;*/
    /*text-align: left; !* Выравнивание текста *!*/
    border: 1px solid #ddd; /* Границы ячеек */
    /*white-space: wrap; !* Запрещаем перенос текста *!*/
    white-space: nowrap; /* Запрещаем перенос текста */
    color: black; /* Черный цвет текста */
}

#sendersTable th {
    background-color: rgba(110, 110, 255, 0.89); /* Цвет фона заголовков */
}

#sendersTable-container {
    width: 100%;
    max-height: 80vh; /* Ограничиваем высоту таблицы, чтобы влезала в экран */
    overflow: auto; /* Добавляем прокрутку, если не помещается */
}



/* Ограничить ширину столбцов */
#sendersTable th:nth-child(7),
#sendersTable td:nth-child(7) {
    text-align: left;
    min-width: 400px;
    max-width: 450px;/* Задаем ширину */
    white-space: normal; /* Разрешаем перенос строк */
}

/* Ограничить ширину для столбца с ссылками */
#sendersTable th:nth-child(8),
#sendersTable td:nth-child(8) {
    text-align: left;
    max-width: 150px; /* Например, ограничиваем 3-й столбец */
    word-wrap: break-word; /* Переносим длинные слова */
    overflow-wrap: break-word; /* Дополнительный перенос */
    white-space: normal; /* Разрешаем перенос строк */
}

#sendersTable th:nth-child(10),
#sendersTable td:nth-child(10) {
    max-width: 150px; /* Например, ограничиваем 3-й столбец */
    overflow: hidden;
    word-wrap: break-word; /* Переносим длинные слова */
    overflow-wrap: break-word; /* Дополнительный перенос */
    white-space: normal; /* Разрешаем перенос строк */
}


/* Стиль для строки при наведении */
#sendersTable tr:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Легкое выделение фоном */
}

/* Стили для кнопки "Удалить" */
.delete-btn {
    display: none; /* Кнопка скрыта по умолчанию */
    background-color: red; /* Цвет кнопки */
    color: white; /* Цвет текста */
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* Показываем кнопку при наведении на строку */
#sendersTable tr:hover .delete-btn {
    display: inline-block; /* Показываем кнопку */
}








#show-ressenders-all {
    background: rgba(255, 255, 255, 0.2); /* Полупрозрачный цвет */
    backdrop-filter: blur(10px);
    color: #000000;
    height: 80vh;
    /*display: none;*/
    display: flex;
    min-width: 95%;
    max-width: 95%; /* Ограничиваем ширину блока */
    overflow-x: auto; /* Добавляем горизонтальную прокрутку, если таблица большая */
    overflow-y: auto; /* Добавляем горизонтальную прокрутку, если таблица большая */
    border-radius: 10px;
    flex-direction: column;
    justify-content: space-between; /* Размещает элементы сверху и снизу */

    padding: 10px;
}


#button-create-res-all {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 10px; /* Фиксируем внизу */
    left: 50%; /* Центрируем по горизонтали */
    transform: translateX(-50%); /* Корректируем смещение */
    width: 100%; /* Растягиваем по ширине */
    text-align: center;
    padding: 10px;
    /*background: rgba(255, 255, 255, 0.3); !* Лёгкий фон *!*/
}

#show-ressenders-all button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background: #3232d6;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
#show-ressenders-all button:hover {
    background: #16169e;
}

#sendersTable-all {
    width: 100%; /* Подгоняем ширину таблицы под контейнер */
    border-collapse: collapse; /* Убираем промежутки между ячейками */
    table-layout: auto; /* Автоматическая подгонка столбцов */
    /*table-layout: fixed; !* Автоматическая подгонка столбцов *!*/
}

#sendersTable-all thead {
    position: sticky; /* Закрепляем элемент */
    top: 0; /* Ставим шапку в верхнюю часть контейнера */
    /*background-color: rgba(255, 255, 255, 0.8); !* Полупрозрачный фон, чтобы шапка выделялась *!*/
    z-index: 1; /* Устанавливаем z-index, чтобы шапка не скрывалась за содержимым */
}

#sendersTable-all th, #sendersTable-all td {
    text-align: center;
    padding: 8px; /* Отступы внутри ячеек */
    /*justify-content: start;*/
    /*text-align: left; !* Выравнивание текста *!*/
    border: 1px solid #ddd; /* Границы ячеек */
    /*white-space: wrap; !* Запрещаем перенос текста *!*/
    white-space: nowrap; /* Запрещаем перенос текста */
    color: black; /* Черный цвет текста */
}

#sendersTable-all th {
    background-color: rgba(110, 110, 255, 0.89); /* Цвет фона заголовков */
}

#sendersTable-all-container {
    width: 100%;
    max-height: 80vh; /* Ограничиваем высоту таблицы, чтобы влезала в экран */
    overflow: auto; /* Добавляем прокрутку, если не помещается */
}



/* Ограничить ширину столбцов */
#sendersTable-all th:nth-child(7),
#sendersTable-all td:nth-child(7) {
    text-align: left;
    min-width: 400px;
    max-width: 450px;/* Задаем ширину */
    white-space: normal; /* Разрешаем перенос строк */
}

/* Ограничить ширину для столбца с ссылками */
#sendersTable-all th:nth-child(8),
#sendersTable-all td:nth-child(8) {
    text-align: left;
    max-width: 150px; /* Например, ограничиваем 3-й столбец */
    word-wrap: break-word; /* Переносим длинные слова */
    overflow-wrap: break-word; /* Дополнительный перенос */
    white-space: normal; /* Разрешаем перенос строк */
}

#sendersTable-all th:nth-child(10),
#sendersTable-all td:nth-child(10) {
    max-width: 150px; /* Например, ограничиваем 3-й столбец */
    overflow: hidden;
    word-wrap: break-word; /* Переносим длинные слова */
    overflow-wrap: break-word; /* Дополнительный перенос */
    white-space: normal; /* Разрешаем перенос строк */
}


/* Стиль для строки при наведении */
#sendersTable-all tr:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Легкое выделение фоном */
}

/*!* Стили для кнопки "Удалить" *!*/
/*.delete-btn {*/
/*    display: none; !* Кнопка скрыта по умолчанию *!*/
/*    background-color: red; !* Цвет кнопки *!*/
/*    color: white; !* Цвет текста *!*/
/*    border: none;*/
/*    padding: 5px 10px;*/
/*    cursor: pointer;*/
/*    border-radius: 5px;*/
/*}*/

/* Показываем кнопку при наведении на строку */
#sendersTable-all tr:hover .delete-btn {
    display: inline-block; /* Показываем кнопку */
}

/* Стили для кнопок в send-main */
#send-main {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#send-main button {
    flex: 1;
    min-width: 150px;
}

/* Стили для кнопок в button-create-res */
#button-create-res {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#button-create-res button {
    flex: 1;
    min-width: 150px;
}
