/* === HISTORY / LIST STYLES === */

.entry-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.02); padding: 16px 20px; border-radius: 14px;
    margin-bottom: 8px; border-left: 3px solid transparent; transition: 0.2s;
}
.entry-row:hover { background: rgba(255,255,255,0.04); padding-left: 24px; }
.entry-row.type-work { border-color: var(--primary); }
.entry-row.type-vacation { border-color: var(--success); }
.entry-row.type-gleittag { border-color: #f59e0b; }
.entry-row.type-sick { border-color: var(--danger); }
.entry-row.type-school { border-color: var(--school); }
.entry-row.type-holiday { border-color: var(--holiday); } 

.entry-date { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.entry-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.tag { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; background: rgba(255,255,255,0.05); }
.project-tag { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }

/* Unified History Filter Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 1.5rem;
}
.filter-grid .glass-input, .filter-grid .glass-select {
    padding: 10px 14px;
}

/* Scrollable List Container */
#entryListShort, #entryListFull {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
}
#entryListShort::-webkit-scrollbar,
#entryListFull::-webkit-scrollbar {
    width: 8px;
}
#entryListShort::-webkit-scrollbar-thumb,
#entryListFull::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb), 0.5));
    border-radius: 8px;
}
#entryListShort::-webkit-scrollbar-thumb:hover,
#entryListFull::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.filter-header { 
    grid-column: 1 / -1; 
    margin-bottom: 10px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
