/* --- 1. GLOBALER HINTERGRUND --- */
body {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    background-attachment: fixed;
    color: #e2e8f0 !important;
}

/* --- 2. DIE "WEIßE FLÄCHE" TÖTEN --- */
/* Das ist der wichtigste Teil: Alles Transparent machen */
#app, main, header, .card, .listing, .listing > div {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* --- 3. HEADER & SUCHLEISTE --- */
header {
    background: rgba(15, 23, 42, 0.4) !important; /* Leicht abgedunkelt */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

/* Die Suchleiste reparieren (War grau auf weiß) */
input[type="search"], .input {
    background-color: rgba(0, 0, 0, 0.3) !important; /* Dunkler Hintergrund */
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}
/* Platzhalter-Text in der Suche heller machen */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
/* Icons im Header (Lupe, Grid-View) */
header i, header button {
    color: #e2e8f0 !important;
}

/* --- 4. SIDEBAR (Links) --- */
/* Dunkler machen, damit sie sich abhebt */
nav, .sidebar {
    background: rgba(0, 0, 0, 0.2) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
/* Links in der Sidebar */
nav a, .sidebar a {
    color: rgba(255, 255, 255, 0.7) !important;
}
/* Aktiver Link oder Hover */
nav a:hover, nav a.active, .sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 0 20px 20px 0;
}

/* --- 5. DATEILISTE (Hauptbereich) --- */
/* Die Kopfzeile der Liste (Name, Größe...) */
.listing .header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}
.listing .header span {
    color: #94a3b8 !important; /* Helles Grau */
}

/* Die einzelnen Zeilen (Dateien) */
.item {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: #fff !important;
    transition: background 0.2s;
}
/* Hover Effekt über Dateien */
.item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Icons färben (Ordner/Dateien) */
.item i {
    color: #818cf8 !important; /* Indigo Blau */
}

/* Checkboxen (zum Auswählen) */
.item .checkbox {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* --- 6. KONTEXTMENÜ (Rechtsklick) --- */
.dropdown-menu, .context-menu {
    background-color: #1e293b !important; /* Dunkles Slate */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    color: #fff !important;
}
.dropdown-menu .item:hover {
    background-color: #334155 !important;
}
