/* Transactions Section */
.transactions-section {
    margin-bottom: 30px;
}

.transactions-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transactions-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.transactions-container {
    min-height: 200px;
}

.transactions-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    -webkit-overflow-scrolling: touch;
}

.transactions-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.transactions-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.transactions-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.transaction-row:hover {
    background-color: #f9fafb;
}

.transaction-row:last-child td {
    border-bottom: none;
}

/* Transaction Type Badges */
.type-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-incoming {
    background: #dcfce7;
    color: #166534;
}

.type-outgoing {
    background: #fee2e2;
    color: #991b1b;
}

/* Transaction Amounts */
.amount-value {
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', monospace;
}

.amount-incoming {
    color: #059669;
}

.amount-outgoing {
    color: #dc2626;
}

/* Transaction Addresses */
.transaction-addresses {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
}

.address-from,
.address-to {
    color: #6b7280;
}

.address-arrow {
    color: #9ca3af;
    margin: 0 4px;
}

/* Transaction Date */
.transaction-date {
    color: #6b7280;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Transaction Memo */
.transaction-memo {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
}

/* Empty and Error States */
.transactions-empty,
.transactions-error {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.transactions-error {
    color: #dc2626;
}
