/* --- GLOBAL MATRIX THEME --- */
html, body {
    margin: 0;
    padding: 20px;
    background: #000;
    color: #00ff66;
    font-family: "Consolas", "Fira Code", monospace;
    font-size: 15px;
}

/* Glow Matrix global */
* {
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.8);
}

/* Titre "Index of /" */
h1 {
    color: #00ff66;
    margin-bottom: 20px;
}

/* --- TABLE APACHE --- */

/* Reset complet des borders */
table, th, td {
    border: none !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: none !important;
}

/* Lignes normées : aucune séparation */
tr td, tr th {
    background: transparent;
}

/* --- LIENS --- */
a {
    color: #00ff66;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 12px rgba(0, 255, 102, 1);
    text-decoration: underline;
}

/* --- SURVOL DES LIGNES --- */
tr:hover td {
    background: rgba(0, 255, 102, 0.1);
}

/* --- SEPARATEUR INDEXBREAKROW --- */

tr.indexbreakrow th[colspan] hr {
    border: none !important;
    height: 1px !important;
    background: #00ff66 !important;
    margin: 6px 0;

    /* Glow Matrix */
    box-shadow:
        0 0 6px rgba(0, 255, 102, 0.8),
        0 0 12px rgba(0, 255, 102, 0.6) !important;
}

/* Nettoyage autour du hr */
tr.indexbreakrow th[colspan] {
    background: transparent !important;
}

/* --- SCROLLBAR MATRIX --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 102, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: #000;
}
