/* ===========================
   GLOBAL STYLES
   =========================== */

body {
    font-family: Arial, sans-serif;
    background: #0d1117;
    color: #e6edf3;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
}

/* ===========================
   HERO HEADER
   =========================== */

.hero {
    text-align: center;
    padding: 40px 20px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.csv-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #238636;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.csv-button:hover {
    background: #2ea043;
}

/* ===========================
   CARD GRID
   =========================== */

.cards-section {
    padding: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.validator-card {
    background: #161b22;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #30363d;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.validator-card:hover {
    transform: translateY(-4px);
    border-color: #00aaff;
}

.validator-card.highlight {
    border: 2px solid #00b3ff;
    background: #112233;
}

/* ===========================
   TABLE SECTION
   =========================== */

.table-section {
    padding: 30px;
}

#searchInput {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #161b22;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #30363d;
    text-align: left;
}

tr:hover {
    background: #1c2128;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 600px) {
    .validator-card {
        padding: 15px;
    }

    th, td {
        padding: 8px;
    }
}

.top-message, .disclaimer {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    line-height: 1.6;
}

.top-message p, .disclaimer p {
    margin-bottom: 12px;
}

.disclaimer strong {
    color: #58a6ff;
}

