.ucs-transactions-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.ucs-transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ucs-transactions-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ucs-filter-select {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.ucs-filter-select option {
    background: #1c1b1b;
    color: white;
}

.ucs-transactions-refresh-btn {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.ucs-transactions-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ucs-transaction-item {
    background: #050505;
    border: 1px solid #0c0c0c;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.ucs-transaction-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.ucs-transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ucs-transaction-type {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.ucs-transaction-amount {
    font-weight: 600;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.ucs-credit-badge {
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
}

.ucs-transaction-amount.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.ucs-transaction-amount.positive .ucs-credit-badge {
    background: #22c55e;
    color: white;
}

.ucs-transaction-amount.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ucs-transaction-amount.negative .ucs-credit-badge {
    background: #ef4444;
    color: white;
}

.ucs-transaction-body {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ucs-transaction-date {
    margin-bottom: 4px;
}

.ucs-transaction-balance {
    margin-bottom: 4px;
}

.ucs-transaction-description {
    font-style: italic;
    margin-top: 4px;
}

.ucs-transactions-empty {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.ucs-transactions-pager {
    margin-top: 20px;
    text-align: center;
}

.ucs-tx-prev, .ucs-tx-next {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 16px;
    background: #1c1b1b;
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

.ucs-tx-prev:hover, .ucs-tx-next:hover {
    background: #2c2b2b;
}

.ucs-tx-page {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 16px;
}

.ucs-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: ucs-spin 1s ease-in-out infinite;
}

@keyframes ucs-spin {
    to { transform: rotate(360deg); }
}
