body {
    font-family: tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #202223, #2c2c2e);
    background-image: url(../img/1.jpg);
    color: white;
}

.hidden {
    display: none;
}

.container {
    padding: 20px;
    text-align: center;
}

.title {
    font-size: 36px;
    color: darkorange;
    text-shadow: 2px 2px 4px black;
}

.input-section {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.input-section input {
    padding: 10px;
    font-size: 16px;
    border: 2px solid darkorange;
    border-radius: 5px;
    background: #2c2c2e;
    color: white;
}

.scroll-button {
    background-color: #804603;
    border: 2px solid darkorange;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.6s ease;
}

.scroll-button:hover {
    background: darkorange;
    transform: scale(1.1);
    transition: all 0.6s ease;
}

.delete-button {
    background-color: #804603;
    border: 2px solid darkorange;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.6s ease;
    /*display: none;*/
    /*для показа кнопки удаление серверов заблокировать display:none;*/
}

.delete-button:hover {
    background: darkred;
    transform: scale(1.1);
    transition: all 0.6s ease;
}

table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: #2c2c2e;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

table th, table td {
    padding: 15px;
    text-align: center;
    border: 1px solid darkorange;
}

table th, table td {
    padding: 15px;
    text-align: center;
    border: 1px solid darkorange;
}

table tbody tr:nth-child(odd) {
    background-color: #323841; /* Тёмный фон для нечётных строк */
}

table tbody tr:hover {
    background-color: #555; /* Фон при наведении на строку */
}


table th {
    background: #804603;
    color: #ebebeb;
}

table tr:hover {
    background: #404040;
    cursor: pointer;
}

.links-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.links-section a {
    text-decoration: none;
    color: darkorange;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.links-section img {
    width: 70px;
    height: 70px;
    /*border: 2px solid darkorange;*/
    border-radius: 5px;
    transition: transform 0.3s;
}

.links-section img:hover {
    transform: scale(1.1);
}
/* Общий стиль для кнопок */
button {
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Кнопка ADD */
#addServerButton {
    background-color: #804603;
    border: 2px solid darkorange;
    color: white;
    font-weight: bold;
    margin-left: 10px;
    transition: all 0.6s ease;
}

#addServerButton:hover {
    background-color: green;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    transition: all 0.6s ease;
}

/* Кнопка DELETE */
td button {
    background-color: darkred;
    color: red;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}

td button:hover {
    background-color: red;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
/* Стиль ссылки в колонке "Click Server Name to Connect" */
td a {
    color: darkorange; /* Цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
    font-weight: bold; /* Жирный шрифт */
    transition: color 0.3s, text-shadow 0.3s; /* Эффекты при наведении */
}

td a:hover {
    color: white; /* Изменение цвета текста при наведении */
    text-shadow: 0px 0px 10px darkorange; /* Добавляем свечение */
    cursor: pointer; /* Изменение курсора */
}
/* Стиль для ячейки с IP-адресом */
td.copy-address {
    color: darkorange; /* Основной цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
    font-weight: bold; /* Жирный шрифт */
    cursor: pointer; /* Указатель при наведении */
    transition: color 0.3s, text-shadow 0.3s; /* Эффекты при наведении */
}

td.copy-address:hover {
    color: white; /* Изменение цвета текста при наведении */
    text-shadow: 0px 0px 10px darkorange; /* Добавляем свечение */
}


