/* OS-2045 Wave-E-1: Recycle-Bin (Trash-Modus für Files-App).
 * Adds: sidebar entry styling, trash-mode body indicators, action buttons.
 * Scoped to body[data-theme-mode="os2045"].
 */

/* ===== Sidebar Trash-Eintrag ============================================== */
body[data-theme-mode="os2045"] #filesTrashEntry {
    cursor: pointer;
    transition: background 0.15s ease;
}
body[data-theme-mode="os2045"] #filesTrashEntry:hover {
    background: rgba(255, 255, 255, 0.06);
}
body[data-theme-mode="os2045"] #filesTrashEntry .fx-ico {
    filter: saturate(1.1);
}
body[data-theme-mode="os2045"] .fx-trash-count {
    font-variant-numeric: tabular-nums;
    color: #f4a261;
}

/* ===== Trash-Modus Body =================================================== */
body[data-theme-mode="os2045"] #filesBrowser.fx-trash-mode {
    /* Slight border tint to make the trash mode unmistakable */
    box-shadow: inset 0 0 0 1px rgba(244, 162, 97, 0.25);
}
body[data-theme-mode="os2045"] #filesBrowser.fx-trash-mode #filesPath {
    color: #f4a261;
    font-weight: 500;
}
body[data-theme-mode="os2045"] #filesBrowser.fx-trash-mode .fx-actions-row::before {
    content: 'Papierkorb';
    color: #f4a261;
    font-weight: 500;
    margin-right: 12px;
    padding: 2px 8px;
    background: rgba(244, 162, 97, 0.12);
    border-radius: 3px;
}

/* ===== Trash-Tabelle Rows ================================================= */
body[data-theme-mode="os2045"] .fx-trash-row td {
    vertical-align: middle;
    padding: 6px 8px;
}
body[data-theme-mode="os2045"] .fx-trash-row .fx-action {
    font-size: 0.85em;
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
body[data-theme-mode="os2045"] .fx-trash-row .fx-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
body[data-theme-mode="os2045"] .fx-trash-row .fx-action.danger {
    color: #ff7a7a;
    border-color: rgba(255, 122, 122, 0.3);
}
body[data-theme-mode="os2045"] .fx-trash-row .fx-action.danger:hover {
    background: rgba(255, 122, 122, 0.15);
    border-color: rgba(255, 122, 122, 0.6);
}

/* ===== Toolbar "Papierkorb leeren" ======================================== */
body[data-theme-mode="os2045"] #filesBrowser.fx-trash-mode [data-action="filesTrashEmpty"] {
    color: #ff7a7a;
    border: 1px solid rgba(255, 122, 122, 0.4);
    background: rgba(255, 122, 122, 0.08);
}
body[data-theme-mode="os2045"] #filesBrowser.fx-trash-mode [data-action="filesTrashEmpty"]:hover {
    background: rgba(255, 122, 122, 0.18);
}
