:root {
    --eve-red: #d63384;
    --eve-dark: #2c3e50;
    --eve-gray: #f4f4f4;
    --discord-blue: #5865F2;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    flex: 1;
}

/* Header & Lang Switch */
header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

h1 {
    color: var(--eve-dark);
    margin: 0;
    font-size: 1.8rem;
}

.lang-switch {
    display: flex;
    gap: 8px;
}

.btn-lang {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-lang.active {
    background: var(--eve-red);
    color: white;
    border-color: var(--eve-red);
}

.btn-lang:hover:not(.active) {
    background: #eee;
}

/* Support Section */
.support-section {
    background: white;
    border-left: 5px solid var(--eve-red);
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 4px;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .support-grid { grid-template-columns: 1fr; }
    header { flex-direction: column; align-items: stretch; }
}

.support-item h4 { margin: 0 0 8px 0; color: #555; font-size: 1rem; }
.support-item code {
    background: var(--eve-gray);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--eve-dark);
    display: block;
    word-break: break-all;
    font-size: 0.9rem;
}

.discord-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: var(--discord-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.2s;
    text-align: center;
}

.discord-btn:hover { background-color: #4752c4; }

/* Search */
.search-container {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

input[type="text"] {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

input[type="text"]:focus { border-color: var(--eve-red); }

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #fafafa;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

tr:last-child td { border-bottom: none; }

.status-active { color: darkred; font-weight: bold; }
.status-removed { color: gray; text-decoration: line-through; }

.evidence-link {
    color: var(--eve-red);
    text-decoration: underline;
    cursor: pointer;
}
.evidence-link:hover { text-decoration: none; }

#no-results {
    display: none;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    color: #777;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 0.9rem;
    margin-top: auto;
}
.btn-show-all {
    display: inline-block;
    margin-left: 10px;
    padding: 12px 20px;
    background-color: var(--eve-dark);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-show-all:hover {
    background-color: #1a2533;
}

/* Контейнер поиска — делаем кнопку и поле в одну строку на десктопе */
.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .search-container { flex-direction: column; align-items: stretch; }
    input[type="text"] { width: 100%; max-width: none; }
    .btn-show-all { width: 100%; }
}

#blacklistTable {
    display: none; /* таблица скрыта, пока нет результатов */
}

#blacklistTable.visible {
    display: table;
}