.app-container {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    padding: 12px;
}

.app-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #333;
    position: relative;
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-right: 16px;
}

.logo {
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}

.transaction-history {
    padding: 16px;
    max-width: 100%;
}

.transaction-item {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.transaction-item.income {
    border-left: 4px solid #3E9C35;
}

.transaction-item.outgoing {
    border-left: 4px solid #EE2400;
}

.transaction-content {
    flex: 1;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: bold;
}

.transaction-type {
    color: #fff;
}

.transaction-amount {
    color: #fff;
}

.transaction-date {
    color: #fff;
    font-size: 0.9em;
    margin-bottom: 8px;
    text-align: left;
}

.transaction-description {
    color: #fff;
    text-align: left;
    word-break: break-word;
}

.delete-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 8px;
    margin-left: 8px;
    font-size: 26px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.delete-button:active {
    opacity: 1;
}

.transaction-item:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.transaction-counter {
    padding: 8px;
    text-align: left;
}

.historyInfoContainer {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.moneyInfoContainer {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    font-weight: 400;
}
.incomesInfo, .outgoingsInfo {
    margin: 0;
}

@media (max-width: 480px) {
    .transaction-history {
        padding: 8px;
    }

    .transaction-item {
        padding: 10px;
    }
}






/* Контейнер для группы фильтров */
.filters-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    background-color: #000;
    
}

/* Группа фильтров (тип операции/категория) */
.filter-group {
    flex: 1;
    max-width: calc(50% - 10px);
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.filter-select:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

#category-filter {
    display:none;
}
/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .filters-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        max-width: 100%;
    }
}

#export-btn {
    width:40px;
    height: 25px;
    font-size: 12px;
    padding: 5px;
    margin-left:auto;
}