body {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a); /* Градиент для фона */
    color: #e0e0e0;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex; /* Для выравнивания по центру */
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Высота экрана */
}

/* Центрирование элементов и фиксированная ширина */
.main-container {
    width: 50%;
    margin: 0 auto; /* Центрирование по горизонтали */
    padding: 20px;
    background-color: #1b1b1b; /* Более темный фон для контента */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    text-align: center; /* Центрирование текста */
}

/* Шапка */
header {
    background-color: #222222;
    color: #370a0a;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Подвал */
footer {
    background-color: #222222;
    color: #e0e0e0;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    border-radius: 8px;
}

/* Кнопки */
button {
    background-color: #2559a3;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    size: 30px;
}

button:hover {
    background-color: #517ab5;
    color: #fff;
}

/* Таблицы */


table thead tr th{
    border-bottom: 1px solid #f8f5f5;
    text-align: center;
}
table th {
    border-left: 2px solid rgb(255, 255, 255);
    border-right: 2px solid rgb(235, 225, 225);
    text-align: center;
}
table th{ /* Added padding for better layout after collapsing */
    padding: 4px 8px;
    text-align: center;
}

th {
    border: 2px solid #fffbfb;
    padding: 12px;
    text-align: left;
    font-size: 1rem;
    text-align: center;
}

th {
    background-color: #3c3c3c;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #1e1e1e;
}

tr:nth-child(odd) {
    background-color: #2b2b2b;
}

tr:hover {
    background-color: #454545;
}
.parser-form {
    margin-top: 20px;
}

.parser-form label {
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
    color: #e0e0e0;
}

.parser-form input {
    padding: 10px ;
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    width: 100%;
    background-color: #1b1b1b;
    color: #ffffff;
}

.parser-form button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.flashes {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.flashes li {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.flashes .success {
    background-color: #224d22;
    color: #a1e3a1;
    border: 1px solid #3a7b3a;
}

.flashes .error {
    background-color: #4d2222;
    color: #e3a1a1;
    border: 1px solid #7b3a3a;
}
.features-container {
    display: flex;
    flex-direction: column; /* Расположение элементов последовательно */
    gap: 20px; /* Увеличенный отступ между элементами */
    margin-top: 25px;
}

.feature-item {
    padding: 10px 15px;
    background-color: #2c2c2c;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-size: 1rem;
}

.feature-item:hover {
    background-color: #6a37b2; /* Фиолетовый цвет при наведении */
    color: #ffffff;
}
.selected-players{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 30px;
}
/* Поле ввода */
#player-search {
    padding: 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    width: 60%;
    background-color: #1b1b1b;
    color: #ffffff;
    
}

/* Выпадающее меню */
.dropdown-menu {
    display: flex;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: none; /* Скрыто по умолчанию */
}

/* Видимое меню */
.dropdown-menu.visible {
    display: block;
}

/* Элементы выпадающего меню */
.dropdown-item {
    padding: 10px;
    cursor: pointer;
    color: #e0e0e0;
}
.dropdown-item span {
    padding: 10px;
    cursor: pointer;
    color: #fcfcfc;
}

.dropdown-item:hover {
    background-color: #3a9b3a;
    color: white;
}

/* Контейнер таблицы */
.table-container {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    margin-top: 1rem;
}

/* Таблица */
table {
    width: 100%;
    height: 100%;
}


th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #3c3c3c;
    font-size: 1rem;
}

/* Заголовки таблицы */
th {
    background-color: #3c3c3c;
    color: #fbfbfb;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Зебра-эффект для строк */
tr:nth-child(even) {
    background-color: #292929;
}

tr:nth-child(odd) {
    background-color: #1e1e1e;
}

/* Ховер-эффект для строк */
tr:hover {
    background-color: #3d3d3d;
    cursor: pointer;
}

/* Адаптивные фильтры */
.filters {
    display: flex;
    flex-direction: column; /* Расположить фильтры вертикально */
    gap: 15px;
    margin: 20px 0;
    font-size: 1.2rem; /* Увеличенный размер текста */
}

.filters label {
    display: block;
}

.filters input {
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    background-color: #1b1b1b;
    color: #e0e0e0;
}

.filters input:focus {
    border-color: #3a9b3a;
    outline: none;
}

.feature-checkbox {
    display: flex;
    align-content: space-between;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 5px 10px;
    flex-wrap: wrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.feature-checkbox input[type="checkbox"] {
    display: none;
}

.feature-checkbox input[type="checkbox"]:enabled + label {
    color: #e0e0e0;
    border: 2px solid #3c3c3c;
    background-color: transparent;
    transition: background-color 0.2s, border-color 0.2s;
}

.feature-checkbox input[type="checkbox"]:enabled:checked + label {
    color: #38ac33;
    border: 2px solid #38ac33;
    background-color: transparent;
}

h2 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;

    /* Градиент от #003366 к #0f52ba */
    background: linear-gradient(to right, #2559a3, #0f52ba);
    -webkit-background-clip: text; /* Для движка WebKit */
    background-clip: text;         /* Для современных браузеров */
    -webkit-text-fill-color: transparent; /* Делает текст прозрачным в WebKit */
    color: transparent;                  /* Запасной вариант для остальных браузеров */
}


.feature-checkbox input[type="checkbox"]:disabled + label {
    background-color: transparent;
    border: 2px solid #555555;
    color: #777777;
    opacity: 0.6;
}

.feature-checkbox input[type="checkbox"]:enabled:hover + label {
    border: 2px solid #38ac33;
    background-color: rgba(106, 55, 178, 0.1);
}

.feature-checkbox label {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
}
.feature-category-header {
    margin-bottom: 10px;
    font-size: 30px;
    color: #2559a3;
}
.feature-list {
    display: flex;
   align-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
  
   
}
feature-categories .category.active {
    display: block;
}

.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #cacaca;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 24px;
    font-size: 28px;
    color: #333;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin-bottom: 8px;
    text-align: left;
    color: #555;
}

.login-form input {
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-form button {
    padding: 10px;
    background-color: #2559a3;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: #5a79b0;
}

.error {
    margin-top: 12px;
    color: #e74c3c;
    font-weight: bold;
}
