/* features.css - Spezifische Features wie Buchungen, Export, Druck */
ul {
    list-style-type: none;
    padding: 0;
}

#transaction-list-container ul {
    margin-bottom: 10px;
    margin-top: 0;
}

/* Spezielles Design für den Gesamtsaldo ganz oben in der Liste */
.saldo-titel {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: #34495e;
    color: white;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: bold;
}

/* Hauptkategorien (Einnahmen / Ausgaben) */
.haupt-titel {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 3px solid #333;
    font-size: 18px;
    font-weight: bold;
}

/* Unterkategorien */
.gruppen-titel {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    color: #555;
}

/* Einzelne Buchungen */
li {
    background: #f9f9f9;
    padding: 6px 10px;
    margin-bottom: 3px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #bbb;
    font-size: 13px;
}

li.plus { border-left-color: #2ecc71; }
li.minus { border-left-color: #e74c3c; }

/* Schulden-Styles */
.debt-item {
    background: #fff3cd;
    border-left-color: #f39c12;
}

.debt-item .edit-btn {
    background: transparent;
    border: none;
    color: #3498db;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 10px;
    transition: color 0.2s;
}

.debt-item .edit-btn:hover {
    color: #2980b9;
}

/* X-Button zum Löschen */
.delete-btn {
    background: transparent;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 10px;
    font-weight: bold;
    transition: color 0.2s;
}

.delete-btn:hover {
    background: transparent;
    color: #e74c3c;
}

/* EXPORT BEREICH & HEADER */
.right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.export-controls {
    display: flex;
    gap: 8px;
}

/* DRUCK-LAYOUT (FÜR DEN PDF-EXPORT) */
@media print {
    .left-column { display: none; }
    .export-controls { display: none; }
    .delete-btn { display: none; }
    body { background: white; }
    .right-column {
        width: 100%;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border: none;
    }
}