/* Apache Autoindex - Style moderne */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #e2e8f0;
    padding: 40px 20px;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

th, td {
    padding: 16px 20px;
    text-align: left;
}

th {
    background: rgba(59, 130, 246, 0.2);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

th a, th a:visited {
    color: #94a3b8;
    text-decoration: none;
}

tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: background 0.2s ease;
}

tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

td a, td a:visited {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

td a:hover {
    color: #93c5fd;
}

/* Icônes */
img[alt="[DIR]"], img[alt="[PARENTDIR]"] {
    filter: hue-rotate(200deg) brightness(1.5);
}

img[alt="[   ]"] {
    filter: brightness(0.8) invert(0.8);
}

hr {
    display: none;
}

address {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 0.75rem;
    color: #64748b;
    font-style: normal;
}
