﻿/* Charges history — the page bar on top, each charge as a white card on the surface. */

.tx-root {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    flex: 1;
}

.tx-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Transaction item */
.transaction-item {
    box-sizing: border-box;
    border-radius: 16px;
    padding: 12px;
    min-width: 0;
    width: 100%;
    min-height: 96px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    background: var(--surface-raised);
    box-shadow: 0 2px 10px rgba(22, 30, 57, 0.06);
    flex-shrink: 0;
}

.transaction-item-title-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.transaction-item-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-primary);
    margin: 0;
}

.transaction-item-sub-titles-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: start;
    align-items: start;
}

.transaction-item-date {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 143%;
    color: var(--text-secondary);
    margin: 0;
}

.transaction-item-value {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    text-align: right;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .transaction-item {
        min-width: 0;
        width: 100%;
        min-height: 84px;
    }

    .transaction-item-sub-titles-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .transaction-item-title {
        font-size: 18px;
    }

    .transaction-item-date {
        font-size: 14px;
    }
}