
.profile-operations-history {
    margin-top: 1.5rem;
}

.operations-history-container {
    max-height: 400px;
    overflow-y: auto;
}

.operations-list {
    width: 100%;
}

.operation-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.operation-item:last-child {
    border-bottom: none;
}

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

.operation-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
}

.operation-date {
    font-size: 12px;
    color: var(--text-muted);
}

.operation-description {
    font-size: 14px;
    color: var(--text-color-secondary);
    line-height: 1.4;
}

.operation-amount {
    font-weight: 600;
    margin-top: 4px;
}

.operation-amount.positive {
    color: var(--success-color);
}

.operation-amount.negative {
    color: var(--danger-color);
}

.operation-balance {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-operations {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
}

#refresh-operations-history {
    padding: 5px 10px;
    font-size: 14px;
}
