
/* Стили для операций */
.operations-container {
    margin-top: 2rem;
}

.operation-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #ddd;
}

.operation-item[data-type="addition"] {
    border-left-color: #28a745;
}

.operation-item[data-type="deduction"] {
    border-left-color: #dc3545;
}

.operation-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.operation-details {
    flex: 1;
}

.operation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.operation-type {
    font-weight: 600;
    font-size: 0.9rem;
}

.operation-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

.operation-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.operation-reason {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.operation-date {
    color: #999;
    font-size: 0.8rem;
}

/* Фильтры */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
}

.filter-select, .filter-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Статистика */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card.income {
    border-left: 4px solid #28a745;
}

.stat-card.outcome {
    border-left: 4px solid #dc3545;
}

.stat-card i {
    font-size: 1.5rem;
    /*margin-right: 1rem;*/
}

.stat-card.income i {
    color: #28a745;
}

.stat-card.outcome i {
    color: #dc3545;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.stat-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Выпадающий список */
.hidden-operations {
    display: none;
    margin-top: 1rem;
}

.hidden-operations.show {
    display: block;
}

.dropdown-operations {
    text-align: center;
    margin-top: 1rem;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state i {
    margin-bottom: 1rem;
}

.text-success { color: #28a745; }
.text-danger { color: #dc3545; }

