.recent-payments {
    &-header {
        @extend .d-flex, .gap-2;

        h5 {
            @extend .d-flex, .align-center, .gap-2;
            font-weight: 600;
            letter-spacing: -0.02em;
        }
        
        small {
            opacity: 0.7;
        }
    }

    &-icon {
        @extend .flex-center;
        
        color: var(--accent);
        font-size: 1.3rem;
    }
    
    &-content {
        margin-top: 0;
    }

    .payment {
        &-list {
            @extend .d-flex, .flex-column;
        }

        &-item {
            padding: 0.8rem 1.5rem;
            position: relative;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;
            gap: 1rem;
            
            &:not(:last-child)::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 1.5rem;
                right: 1.5rem;
                height: 1px;
                background-color: var(--transp-1);
                opacity: 0.6;
            }
            
            &:hover {
                background: var(--transp-05);
            }
        }
        
        &-user-wrapper {
            display: grid;
            grid-template-columns: 40px 1fr;
            gap: 1rem;
            align-items: center;
            cursor: pointer;
            position: relative;
            color: inherit;
            text-decoration: none;
            
            &:hover .payment-user span {
                color: var(--accent);
            }
        }
        
        &-avatar {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            overflow: hidden;
            background-color: var(--transp-2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--transp-1);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        &-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
            line-height: 1.4;
            overflow: hidden;
        }
        
        &-user {
            span {
                font-weight: 600;
                font-size: var(--p);
                letter-spacing: -0.01em;
                color: var(--text-100);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                display: block;
                transition: color 0.25s ease;
            }
        }

        &-date {
            font-size: var(--small);
            color: var(--text-500);
            margin-top: 0.1rem;
        }
        
        &-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.25rem;
        }

        &-amount {
            font-weight: 600;
            color: var(--success);
            font-size: var(--p);
            display: flex;
            align-items: center;
            gap: 0.1rem;
            
            .currency {
                font-size: var(--small);
                opacity: 0.9;
                font-weight: 500;
            }
        }

        &-gateway {
            .badge {
                font-size: var(--small);
                padding: 0.15rem 0.5rem;
                background-color: var(--transp-1);
                border-radius: 4px;
                color: var(--text-500);
            }
        }
    }

    &-empty {
        @extend .flex-center, .flex-column;
        padding: 3rem 0;
        color: var(--text-400);
        gap: 0.75rem;

        svg {
            font-size: 1.75rem;
            opacity: 0.6;
            color: var(--text-400);
        }

        p {
            margin-bottom: 0;
            font-size: var(--p-small);
        }
    }
}